Skip to content

Commit 184a2ac

Browse files
author
Ramya Virajamangala
committed
added scroll function to avoid failure on metadata page
1 parent a72a5fd commit 184a2ac

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_preprints.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ def test_create_preprint_from_landing(
137137
submit_page.scroll_into_view(submit_page.basics_tags_section.element)
138138
submit_page.basics_tags_input.click()
139139
submit_page.basics_tags_input.send_keys('selenium\r')
140+
submit_page.scroll_into_view(submit_page.next_button.element)
140141
submit_page.next_button.click()
141142

142143
# Author Assertions section
@@ -323,6 +324,7 @@ def test_edit_preprint(self, session, driver, preprint_detail_page):
323324
assert tag_found
324325

325326
@markers.dont_run_on_prod
327+
@pytest.mark.xfail(reason='https://openscience.atlassian.net/browse/ENG-6065')
326328
def test_withdraw_preprint(self, session, driver, preprint_detail_page):
327329
"""Test the Withdraw Preprint functionality. Using the preprint_detail_page
328330
fixture we start on the Preprint Detail page for an api created preprint. Then

0 commit comments

Comments
 (0)