We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e157b37 + e75dbf8 commit 90252f1Copy full SHA for 90252f1
cypress/support/assertions/assertion_constants.js
@@ -0,0 +1,6 @@
1
+export const flashClassMap = {
2
+ warning: 'warning',
3
+ error: 'danger',
4
+ info: 'info',
5
+ success: 'success',
6
+};
cypress/support/assertions/expect_alerts.js
@@ -1,11 +1,5 @@
/* eslint-disable no-undef */
-
-const flashClassMap = {
- warning: 'warning',
- error: 'danger',
- info: 'info',
7
- success: 'success',
8
-};
+import { flashClassMap } from './assertion_constants';
9
10
/**
11
* Custom Cypress command to validate flash messages.
0 commit comments