Merge pull request #19851 from woocommerce/fix-e2e-tests-before3.4
Fix the US currency name and attribute check for creating variable product
This commit is contained in:
commit
a04c54a896
|
@ -42,7 +42,7 @@ test.describe( 'Checkout Page', function() {
|
|||
baseLocation: [ 'United States', 'United States (US) — California' ],
|
||||
sellingLocation: 'Sell to all countries',
|
||||
enableTaxes: true,
|
||||
currency: [ 'United States', 'United States dollar ($)' ],
|
||||
currency: [ 'United States', 'United States (US) dollar ($)' ],
|
||||
} );
|
||||
|
||||
// Make sure payment method is set in setting.
|
||||
|
|
|
@ -68,14 +68,14 @@ test.describe( 'Add New Product Page', function() {
|
|||
attr1.toggle();
|
||||
|
||||
const attr2 = panelAttributes.add();
|
||||
assert.eventually.ok( attr1.displayed() );
|
||||
assert.eventually.ok( attr2.displayed() );
|
||||
attr2.setName( 'attr #2' );
|
||||
attr2.checkVisibleOnTheProductPage();
|
||||
attr2.checkUsedForVariations();
|
||||
attr2.setValue( 'val1 | val2' );
|
||||
|
||||
const attr3 = panelAttributes.add();
|
||||
assert.eventually.ok( attr1.displayed() );
|
||||
assert.eventually.ok( attr3.displayed() );
|
||||
attr3.setName( 'attr #3' );
|
||||
attr3.checkVisibleOnTheProductPage();
|
||||
attr3.checkUsedForVariations();
|
||||
|
|
Loading…
Reference in New Issue