Skip to content

Commit

Permalink
switch typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dawidkudziacallstack committed Nov 17, 2022
1 parent 253ac0b commit faff18a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const whenUserClicksOnTheCancelApplicationButton = (when) => {

export const thenVerifyAlertBoxHasText = (then) => {
then(/^Verify that the cancel|submit alert box has text: "(.*)"$/, async (alertBoxType, alertBoxText) => {
switch(alertBoxType) {
switch (alertBoxType) {
case 'cancel':
expect(await buttonComponentScreen.getCancelAlertText()).toContain(alertBoxText);
break;
Expand Down

0 comments on commit faff18a

Please sign in to comment.