Skip to content

Commit

Permalink
Remove an extra click that was breaking a playwright test
Browse files Browse the repository at this point in the history
It's odd that this worked before; it seems like the clicked button
was previously visible enough for the expect(more_button).to_be_visible()
to pass, but now it's covered by the opened dropdown.
  • Loading branch information
rebkwok committed Dec 19, 2024
1 parent a655ea7 commit 710087a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/functional/test_code_pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ def test_code_from_workspace(live_server, page, context):

# manifest.json itself doesn't have a manifest entry, so code button not displayed
page.goto(live_server.url + "/workspaces/view/test-dir1/metadata/manifest.json")
page.locator("#file-button-more").click()
expect(more_button).to_be_visible()
more_button.click()
expect(code_button).not_to_be_visible()
Expand Down

0 comments on commit 710087a

Please sign in to comment.