mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-13 23:37:47 +00:00
Adapt matchers to capybara v3
This commit is contained in:
@@ -534,8 +534,8 @@ feature "Product Import", js: true do
|
||||
proceed_to_validation
|
||||
|
||||
# Check that all rows are validated.
|
||||
heading = "120 #{I18n.t('admin.product_import.import.products_to_create')}"
|
||||
find(".panel-header", text: heading).click
|
||||
heading = I18n.t('admin.product_import.import.products_to_create')
|
||||
find(".header-description", text: heading).click
|
||||
expect(page).to have_content "Imported Product 10"
|
||||
expect(page).to have_content "Imported Product 60"
|
||||
expect(page).to have_content "Imported Product 110"
|
||||
|
||||
Reference in New Issue
Block a user