-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improvement: Add test scenario for when the API key is not set #829
- Loading branch information
1 parent
96fdc1f
commit fcd7bd2
Showing
5 changed files
with
77 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import CheckoutPaymentPage from "Pages/frontend/CheckoutPaymentPage"; | ||
import VisitCheckoutPaymentCompositeAction from "CompositeActions/VisitCheckoutPaymentCompositeAction"; | ||
|
||
const checkoutPaymentPage = new CheckoutPaymentPage(); | ||
const visitCheckoutPayment = new VisitCheckoutPaymentCompositeAction(); | ||
|
||
describe('Test without API key', () => { | ||
it('C4225556: Can still use the webshop when no API key is set and the module is disabled', () => { | ||
visitCheckoutPayment.visit(); | ||
|
||
cy.contains('Ship To:').should('be.visible'); | ||
}); | ||
}); |