Merge pull request #30582 from woocommerce/fix/e2e-shipping-classes-test

Fix for not finding text in Merchant can add shipping classes test
This commit is contained in:
Ron Rennick 2021-08-26 13:47:09 -03:00 committed by GitHub
commit f3bc3f6fe4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -1,5 +1,3 @@
/* eslint-disable jest/no-export*/
/**
* Internal dependencies
*/
@ -55,7 +53,7 @@ const runAddShippingClassesTest = () => {
for (const { name, slug, description } of shippingClasses) {
const row = await expect(
page
).toMatchElement('.wc-shipping-class-rows tr', { text: slug });
).toMatchElement('.wc-shipping-class-rows tr', { text: slug, timeout: 50000 });
await expect(row).toMatchElement(
'.wc-shipping-class-name',