@dhis2-ui/selector-bar 9.4.4 → 9.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _cypressCucumberPreprocessor = require("@badeball/cypress-cucumber-preprocessor");
|
|
4
4
|
|
|
5
|
-
(0,
|
|
5
|
+
(0, _cypressCucumberPreprocessor.Given)('the selector bar item is closed', () => {
|
|
6
6
|
cy.visitStory('SelectorBarItem', 'closed no value');
|
|
7
7
|
});
|
|
8
|
-
(0,
|
|
8
|
+
(0, _cypressCucumberPreprocessor.Given)('the selector bar item is open', () => {
|
|
9
9
|
cy.visitStory('SelectorBarItem', 'open no value');
|
|
10
10
|
});
|
|
11
|
-
(0,
|
|
11
|
+
(0, _cypressCucumberPreprocessor.When)('the user opens the selector bar item', () => {
|
|
12
12
|
cy.contains('Selection bar item', {
|
|
13
13
|
selector: 'button'
|
|
14
14
|
}).click();
|
|
15
15
|
});
|
|
16
|
-
(0,
|
|
16
|
+
(0, _cypressCucumberPreprocessor.When)('the user closes the selector bar item', () => {
|
|
17
17
|
cy.get('body').click('topLeft');
|
|
18
18
|
});
|
|
19
|
-
(0,
|
|
19
|
+
(0, _cypressCucumberPreprocessor.Then)('the children should be displayed', () => {
|
|
20
20
|
cy.get('[data-test="dhis2-uiwidgets-singleselectfield"]').should('exist');
|
|
21
21
|
});
|
|
22
|
-
(0,
|
|
22
|
+
(0, _cypressCucumberPreprocessor.Then)('the children should not be displayed', () => {
|
|
23
23
|
cy.get('[data-test="dhis2-uiwidgets-singleselectfield"]').should('not.exist');
|
|
24
24
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dhis2-ui/selector-bar",
|
|
3
|
-
"version": "9.4.
|
|
3
|
+
"version": "9.4.6",
|
|
4
4
|
"description": "UI Select",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -33,21 +33,21 @@
|
|
|
33
33
|
"styled-jsx": "^4"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@dhis2-ui/button": "9.4.
|
|
37
|
-
"@dhis2-ui/card": "9.4.
|
|
38
|
-
"@dhis2-ui/popper": "9.4.
|
|
39
|
-
"@dhis2-ui/layer": "9.4.
|
|
40
|
-
"@dhis2/ui-constants": "9.4.
|
|
41
|
-
"@dhis2/ui-icons": "9.4.
|
|
36
|
+
"@dhis2-ui/button": "9.4.6",
|
|
37
|
+
"@dhis2-ui/card": "9.4.6",
|
|
38
|
+
"@dhis2-ui/popper": "9.4.6",
|
|
39
|
+
"@dhis2-ui/layer": "9.4.6",
|
|
40
|
+
"@dhis2/ui-constants": "9.4.6",
|
|
41
|
+
"@dhis2/ui-icons": "9.4.6",
|
|
42
42
|
"@testing-library/react": "^12.1.2",
|
|
43
43
|
"classnames": "^2.3.1",
|
|
44
44
|
"prop-types": "^15.7.2"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@dhis2-ui/css": "9.4.
|
|
48
|
-
"@dhis2-ui/menu": "9.4.
|
|
49
|
-
"@dhis2-ui/organisation-unit-tree": "9.4.
|
|
50
|
-
"@dhis2-ui/select": "9.4.
|
|
47
|
+
"@dhis2-ui/css": "9.4.6",
|
|
48
|
+
"@dhis2-ui/menu": "9.4.6",
|
|
49
|
+
"@dhis2-ui/organisation-unit-tree": "9.4.6",
|
|
50
|
+
"@dhis2-ui/select": "9.4.6",
|
|
51
51
|
"@dhis2/d2-i18n": "^1.1.0",
|
|
52
52
|
"@testing-library/jest-dom": "^5.16.1",
|
|
53
53
|
"react": "16.13",
|