diff --git a/test/javascripts/acceptance/admin-wizards-business-subscription-test.js b/test/javascripts/acceptance/admin-wizards-business-subscription-test.js index 71f374bf..ea8cbac2 100644 --- a/test/javascripts/acceptance/admin-wizards-business-subscription-test.js +++ b/test/javascripts/acceptance/admin-wizards-business-subscription-test.js @@ -66,7 +66,7 @@ acceptance("Admin | Custom Wizard Business Subscription", function (needs) { test("shows authorized and subscribed", async (assert) => { await visit("/admin/wizards"); assert.notOk( - exists(".supplier-authorize .btn-primary"), + exists(".supplier-authorize .btn-primary:not(.update)"), "the authorize button is shown." ); assert.strictEqual( diff --git a/test/javascripts/acceptance/admin-wizards-standard-subscription-test.js b/test/javascripts/acceptance/admin-wizards-standard-subscription-test.js index 3fdb1e7a..0670e703 100644 --- a/test/javascripts/acceptance/admin-wizards-standard-subscription-test.js +++ b/test/javascripts/acceptance/admin-wizards-standard-subscription-test.js @@ -66,7 +66,7 @@ acceptance("Admin | Custom Wizard Standard Subscription", function (needs) { test("shows authorized and subscribed", async (assert) => { await visit("/admin/wizards"); assert.notOk( - exists(".supplier-authorize .btn-primary"), + exists(".supplier-authorize .btn-primary:not(.update)"), "the authorize button not shown." ); assert.strictEqual(