regressify 1.0.38 → 1.0.39

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "regressify",
3
- "version": "1.0.38",
3
+ "version": "1.0.39",
4
4
  "description": "Visual regression tests support",
5
5
  "main": "src/index.ts",
6
6
  "type": "module",
@@ -1,6 +0,0 @@
1
- profiles:
2
- default:
3
- - ref: https://legacy1.domain.com/
4
- test: https://new1.domain.com/
5
- - ref: https://legacy2.domain.com/
6
- test: https://new2.domain.com/
@@ -1,7 +0,0 @@
1
- - domain: www.domain.com
2
- loginUrl: www.domain.com/login
3
- userName: userName
4
- password: password
5
- userNameSelector: "#uncontrolled-tab-example-tabpane-login [name=email]"
6
- passwordSelector: "#uncontrolled-tab-example-tabpane-login [name=password]"
7
- loginButtonSelector: "#uncontrolled-tab-example-tabpane-login button[type=submit]"
@@ -1,62 +0,0 @@
1
- scenarios:
2
- # Scenario:
3
- # Testing the page without any user interaction
4
- - url: https://tuyen.blog/utils/general/color-blender/
5
-
6
- # Scenario:
7
- # Verify that when clicked, the spoiler on top of the page will expands
8
- - url: https://tuyen.blog/utils/general/color-blender/
9
- label: Expand the spoiler
10
- # Click the spoiler, it contains the text:
11
- # `Click here to view the instructions for usage.`
12
- actions:
13
- - click: main .t-spoiler__summary
14
- - wait: 2000
15
-
16
- # Scenario:
17
- # Verify that when clicked second time, the spoiler on top of the page will collapses again
18
- - url: https://tuyen.blog/utils/general/color-blender/
19
- label: Collapse the spoiler
20
- # Click the spoiler, it contains the text:
21
- # `Click here to view the instructions for usage.`
22
- actions:
23
- - click: main .t-spoiler__summary
24
- - click: main .t-spoiler__summary
25
- - wait: 2000
26
-
27
- # Scenario:
28
- # Verify that when RGB mode was clicked, the color values in pallete will
29
- # switch to RGB.
30
- - url: https://tuyen.blog/utils/general/color-blender/
31
- label: Click the RGB switch
32
- # Click the RGB switch element
33
- clickSelector: main .t-o-color-blender__mode-toggle
34
-
35
- # Scenario:
36
- # Verify the visual with specific input
37
- - url: https://tuyen.blog/utils/general/color-blender/
38
- label: Check visual for specific input
39
- actions:
40
- - input: '#color-blender-color-1'
41
- value: yellow
42
- - input: '#color-blender-color-2'
43
- value: green
44
- - click: '#color-blender-color-midpoints'
45
- - click: .t-o-color-blender__midpoint-list-item[aria-label='10 midpoints']
46
- - click: main
47
- - wait: 1000
48
-
49
- # Scenario:
50
- # Verify the visual with invalid input
51
- - url: https://tuyen.blog/utils/general/color-blender/
52
- label: Check visual for invalid input
53
- actions:
54
- - input: '#color-blender-color-1'
55
- # Input an invalid web color
56
- value: really yellow
57
- - input: '#color-blender-color-2'
58
- value: green
59
- - click: '#color-blender-color-midpoints'
60
- - click: .t-o-color-blender__midpoint-list-item[aria-label='10 midpoints']
61
- - click: main
62
- - wait: 1000
@@ -1,38 +0,0 @@
1
- scenarios:
2
- # Input the form with valid username and email, but not submit it
3
- - url: https://tuyen.blog/optimizely-cms/testing/form-submission-test-sample/
4
- label: Input the form with valid username and email
5
- viewportNames:
6
- - desktop
7
- id: valid-data-1
8
- actions:
9
- - input: '#signup #username'
10
- value: test
11
- - input: '#signup #email'
12
- value: test@gmail.com
13
-
14
- # Input the form with username, email and password, but not submit it
15
- - url: https://tuyen.blog/optimizely-cms/testing/form-submission-test-sample/
16
- label: Input the form with valid password
17
- viewportNames:
18
- - desktop
19
- id: valid-data-2
20
- # Executing all the actions from above scenario before executing the actions from this scenario
21
- needs: valid-data-1
22
- actions:
23
- - input: '#signup #password'
24
- value: kCzs0!!kP^jIXamK}g@e
25
- - input: '#signup #confirm-password'
26
- value: kCzs0!!kP^jIXamK}g@e
27
-
28
- - url: https://tuyen.blog/optimizely-cms/testing/form-submission-test-sample/
29
- label: Submit the form
30
- viewportNames:
31
- - desktop
32
- needs:
33
- # Executing all the actions from the scenarios `valid-data-1` and `valid-data-2` before executing the actions from this scenario
34
- - valid-data-2
35
- actions:
36
- - click: '#signup input[type="submit"]'
37
- - wait: 5000
38
- url: '**/?action=signup'
@@ -1,59 +0,0 @@
1
- scenarios:
2
- # Scenario:
3
- # Testing the page without any user interaction
4
- - url: https://tuyen.blog/optimizely-cms/testing/form-submission-test-sample/
5
- label: Visit the page
6
-
7
- # Scenario:
8
- # Testing the form with valid data
9
- - url: https://tuyen.blog/optimizely-cms/testing/form-submission-test-sample/
10
- label: Testing the form with valid data
11
- actions:
12
- - input: '#signup #username'
13
- value: test
14
- - input: '#signup #email'
15
- value: test@gmail.com
16
- - input: '#signup #password'
17
- value: kCzs0!!kP^jIXamK}g@e
18
- - input: '#signup #confirm-password'
19
- value: kCzs0!!kP^jIXamK}g@e
20
- - click: '#signup input[type="submit"]'
21
- - wait: 5000
22
- url: '**/?action=signup'
23
-
24
- # Scenario:
25
- # Testing the form when clic submit without input any data
26
- - url: https://tuyen.blog/optimizely-cms/testing/form-submission-test-sample/
27
- label: Testing the form when clic submit without input any data
28
- actions:
29
- - click: '#signup input[type="submit"]'
30
-
31
- # Scenario:
32
- # Testing the form with invalid password
33
- - url: https://tuyen.blog/optimizely-cms/testing/form-submission-test-sample/
34
- label: Testing the form with invalid password
35
- actions:
36
- - input: '#signup #username'
37
- value: test
38
- - input: '#signup #email'
39
- value: test@gmail.com
40
- - input: '#signup #password'
41
- value: 'too simple password'
42
- - input: '#signup #confirm-password'
43
- value: 'too simple password'
44
- - click: '#signup input[type="submit"]'
45
-
46
- # Scenario:
47
- # Testing the form with Password and Confirm password mismatch
48
- - url: https://tuyen.blog/optimizely-cms/testing/form-submission-test-sample/
49
- label: Testing the form with Password and Confirm password mismatch
50
- actions:
51
- - input: '#signup #username'
52
- value: test
53
- - input: '#signup #email'
54
- value: test@gmail.com
55
- - input: '#signup #password'
56
- value: kCzs0!!kP^jIXamK}g@e
57
- - input: '#signup #confirm-password'
58
- value: 25H;]Ib,e>5M<#,FFJ=q
59
- - click: '#signup input[type="submit"]'
@@ -1,22 +0,0 @@
1
- scenarios:
2
- # Scenario:
3
- # Testing the page without the chart
4
- - url: https://tuyen.blog/optimizely-cms/testing/frequently-changed-data-test-sample/
5
- label: Test page without the chart - 1st way
6
- hideSelectors:
7
- - '#my-chart'
8
-
9
- # Scenario:
10
- # Testing the page without the chart
11
- # Note that this scenario is identical with the previous one,
12
- # using a different syntax
13
- - url: https://tuyen.blog/optimizely-cms/testing/frequently-changed-data-test-sample/
14
- label: Test page without the chart - 2nd way
15
- actions:
16
- - hide: '#my-chart'
17
-
18
- # Scenario:
19
- # Testing the page WITH the chart
20
- # NOTE: This case will fails
21
- - url: https://tuyen.blog/optimizely-cms/testing/frequently-changed-data-test-sample/
22
- label: Test page with the random chart
@@ -1,6 +0,0 @@
1
- scenarios:
2
- - url: https://www.domain.com/account
3
- requiredLogin: true
4
- - url: https://www.domain.com
5
- requiredLogin: false
6
-