Skip to content

Commit

Permalink
Merge pull request #1308 from centerofci/flaky_e2e
Browse files Browse the repository at this point in the history
Disable flaky E2E test
  • Loading branch information
seancolsen authored Apr 26, 2022
2 parents 35dc632 + b5583ad commit 5a21488
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions mathesar/tests/integration/test_imports.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
from playwright.sync_api import expect
# from playwright.sync_api import expect

from mathesar.tests.integration.utils.locators import get_table_entry, get_tables_list
# from mathesar.tests.integration.utils.locators import get_table_entry, get_tables_list


def test_import_from_clipboard(page, custom_types_schema_url):
page.goto(custom_types_schema_url)
expect(get_tables_list(page)).to_be_empty()
page.click("[aria-label='New Table']")
page.click("button:has-text('Import Data')")
page.click("text=Copy and Paste Text")
page.fill("textarea", "foo,bar\n2,3")
page.click("button:has-text('Continue')")
page.click("button:has-text('Finish Import')")
expect(get_table_entry(page, "Table 0")).to_be_visible()
# def test_import_from_clipboard(page, custom_types_schema_url):
# page.goto(custom_types_schema_url)
# expect(get_tables_list(page)).to_be_empty()
# page.click("[aria-label='New Table']")
# page.click("button:has-text('Import Data')")
# page.click("text=Copy and Paste Text")
# page.fill("textarea", "foo,bar\n2,3")
# page.click("button:has-text('Continue')")
# page.click("button:has-text('Finish Import')")
# expect(get_table_entry(page, "Table 0")).to_be_visible()


# def test_import_from_file(page, custom_types_schema_url):
Expand Down

0 comments on commit 5a21488

Please sign in to comment.