@quickpickle/playwright 0.9.7 → 0.9.9
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/README.md +7 -0
- package/dist/PlaywrightWorld.cjs +65 -9
- package/dist/PlaywrightWorld.cjs.map +1 -1
- package/dist/PlaywrightWorld.d.ts +24 -1
- package/dist/PlaywrightWorld.mjs +65 -9
- package/dist/PlaywrightWorld.mjs.map +1 -1
- package/dist/actions.steps.cjs +106 -49
- package/dist/actions.steps.cjs.map +1 -1
- package/dist/actions.steps.mjs +106 -49
- package/dist/actions.steps.mjs.map +1 -1
- package/dist/helpers.cjs +53 -0
- package/dist/helpers.cjs.map +1 -0
- package/dist/helpers.d.ts +7 -0
- package/dist/helpers.mjs +47 -0
- package/dist/helpers.mjs.map +1 -0
- package/dist/outcomes.steps.cjs +209 -122
- package/dist/outcomes.steps.cjs.map +1 -1
- package/dist/outcomes.steps.mjs +197 -110
- package/dist/outcomes.steps.mjs.map +1 -1
- package/package.json +4 -3
package/dist/outcomes.steps.cjs
CHANGED
|
@@ -3,183 +3,270 @@
|
|
|
3
3
|
var quickpickle = require('quickpickle');
|
|
4
4
|
var test = require('@playwright/test');
|
|
5
5
|
require('./snapshotMatcher.cjs');
|
|
6
|
+
var helpers = require('./helpers.cjs');
|
|
6
7
|
require('pngjs');
|
|
7
8
|
require('node:fs');
|
|
8
9
|
require('node:path');
|
|
9
10
|
require('pixelmatch');
|
|
10
11
|
require('lodash-es');
|
|
11
12
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
13
|
+
// ================
|
|
14
|
+
// Text on page
|
|
15
|
+
async function assertVisibleText(page, text, visible = true) {
|
|
16
|
+
try {
|
|
17
|
+
if (visible)
|
|
18
|
+
await test.expect(await page.getByText(text).locator(`visible=true`).count()).toBeGreaterThan(0);
|
|
19
|
+
else
|
|
20
|
+
await test.expect(await page.getByText(text).locator(`visible=true`).count()).toBe(0);
|
|
21
|
+
}
|
|
22
|
+
catch (e) {
|
|
23
|
+
throw new Error(`The text "${text}" was unexpectedly ${visible ? 'not found' : 'found'} on the page.`);
|
|
24
|
+
}
|
|
21
25
|
}
|
|
22
|
-
quickpickle.Then('I should see {string}(
|
|
23
|
-
await
|
|
24
|
-
});
|
|
25
|
-
quickpickle.Then('I should not see {string}(
|
|
26
|
-
await
|
|
27
|
-
});
|
|
28
|
-
quickpickle.Then('
|
|
29
|
-
|
|
26
|
+
quickpickle.Then('I should see {string}( on the page)', async function (world, text) {
|
|
27
|
+
await assertVisibleText(world.page, text);
|
|
28
|
+
});
|
|
29
|
+
quickpickle.Then('I should not/NOT see {string}( on the page)', async function (world, text) {
|
|
30
|
+
await assertVisibleText(world.page, text, false);
|
|
31
|
+
});
|
|
32
|
+
quickpickle.Then('the text {string} should be visible( on the page)', async function (world, text) {
|
|
33
|
+
await assertVisibleText(world.page, text);
|
|
34
|
+
});
|
|
35
|
+
quickpickle.Then('the text {string} should not/NOT be visible( on the page)', async function (world, text) {
|
|
36
|
+
await assertVisibleText(world.page, text, false);
|
|
37
|
+
});
|
|
38
|
+
// ================
|
|
39
|
+
// Elements on page
|
|
40
|
+
async function assertVisibleElement(locator, visible = true) {
|
|
41
|
+
try {
|
|
42
|
+
if (visible)
|
|
43
|
+
await test.expect(await locator.locator('visible=true').count()).toBeGreaterThan(0);
|
|
44
|
+
else
|
|
45
|
+
await test.expect(await locator.locator('visible=true').count()).toBe(0);
|
|
46
|
+
}
|
|
47
|
+
catch (e) {
|
|
48
|
+
throw new Error(`The element "${locator}" was unexpectedly ${visible ? 'not visible' : 'visible'} on the page.`);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
quickpickle.Then('I should see a/an/the {string} {word}', async function (world, identifier, role) {
|
|
52
|
+
let locator = await helpers.getLocator(world.page, identifier, role);
|
|
53
|
+
await assertVisibleElement(locator);
|
|
54
|
+
});
|
|
55
|
+
quickpickle.Then('I should not/NOT see a/an/the {string} {word}', async function (world, identifier, role) {
|
|
56
|
+
let locator = await helpers.getLocator(world.page, identifier, role);
|
|
57
|
+
await assertVisibleElement(locator, false);
|
|
58
|
+
});
|
|
59
|
+
quickpickle.Then('I should see a/an/the {string} (element )with (the )(text ){string}', async function (world, identifier, text) {
|
|
60
|
+
let locator = await helpers.getLocator(world.page, identifier, 'element', text);
|
|
61
|
+
await assertVisibleElement(locator);
|
|
62
|
+
});
|
|
63
|
+
quickpickle.Then('I should not/NOT see a/an/the {string} (element )with (the )(text ){string}', async function (world, identifier, text) {
|
|
64
|
+
let locator = await helpers.getLocator(world.page, identifier, 'element', text);
|
|
65
|
+
await assertVisibleElement(locator, false);
|
|
66
|
+
});
|
|
67
|
+
// ================
|
|
68
|
+
// Element state
|
|
69
|
+
// visible / hidden
|
|
70
|
+
async function assertInvisibleElement(locator, identifier) {
|
|
71
|
+
if (await locator.count() === 0)
|
|
72
|
+
throw new Error(`The element "${identifier}" was unexpectedly not found on the page.`);
|
|
73
|
+
try {
|
|
74
|
+
await test.expect(locator).not.toBeVisible();
|
|
75
|
+
}
|
|
76
|
+
catch (e) {
|
|
77
|
+
throw new Error(`The element "${identifier}" was unexpectedly visible on the page.`);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
quickpickle.Then('a/an/the {string} should be visible', async function (world, identifier) {
|
|
81
|
+
let locator = await helpers.getLocator(world.page, identifier, 'element');
|
|
30
82
|
await test.expect(locator).toBeVisible();
|
|
31
83
|
});
|
|
32
|
-
quickpickle.Then('
|
|
33
|
-
let locator = await getLocator(world.page, identifier, 'element'
|
|
34
|
-
await
|
|
84
|
+
quickpickle.Then('a/an/the {string} should be hidden/invisible', async function (world, identifier) {
|
|
85
|
+
let locator = await helpers.getLocator(world.page, identifier, 'element');
|
|
86
|
+
await assertInvisibleElement(locator, identifier);
|
|
35
87
|
});
|
|
36
|
-
quickpickle.Then('
|
|
37
|
-
let locator = await getLocator(world.page, identifier, role
|
|
88
|
+
quickpickle.Then('a/an/the {string} {word} should be visible', async function (world, identifier, role) {
|
|
89
|
+
let locator = await helpers.getLocator(world.page, identifier, role);
|
|
38
90
|
await test.expect(locator).toBeVisible();
|
|
39
91
|
});
|
|
40
|
-
quickpickle.Then('
|
|
41
|
-
let locator = await getLocator(world.page, identifier, role
|
|
42
|
-
await
|
|
92
|
+
quickpickle.Then('a/an/the {string} {word} should be hidden/invisible', async function (world, identifier, role) {
|
|
93
|
+
let locator = await helpers.getLocator(world.page, identifier, role);
|
|
94
|
+
await assertInvisibleElement(locator, identifier);
|
|
43
95
|
});
|
|
44
|
-
quickpickle.Then('
|
|
45
|
-
let locator = await getLocator(world.page, identifier,
|
|
96
|
+
quickpickle.Then('a/an/the {string} (element )with (the )(text ){string} should be visible', async function (world, identifier, text) {
|
|
97
|
+
let locator = await helpers.getLocator(world.page, identifier, 'element', text);
|
|
46
98
|
await test.expect(locator).toBeVisible();
|
|
47
99
|
});
|
|
48
|
-
quickpickle.Then('
|
|
49
|
-
let locator = await getLocator(world.page, identifier,
|
|
50
|
-
await
|
|
100
|
+
quickpickle.Then('a/an/the {string} (element )with (the )(text ){string} should be hidden/invisible', async function (world, identifier, text) {
|
|
101
|
+
let locator = await helpers.getLocator(world.page, identifier, 'element', text);
|
|
102
|
+
await assertInvisibleElement(locator, identifier);
|
|
51
103
|
});
|
|
104
|
+
// disabled / enabled
|
|
52
105
|
quickpickle.Then('a/an/the {string} should be disabled', async function (world, identifier) {
|
|
53
|
-
let locator = await getLocator(world.page, identifier, 'element');
|
|
106
|
+
let locator = await helpers.getLocator(world.page, identifier, 'element');
|
|
54
107
|
await test.expect(locator).toBeDisabled();
|
|
55
108
|
});
|
|
56
109
|
quickpickle.Then('a/an/the {string} should be enabled', async function (world, identifier) {
|
|
57
|
-
let locator = await getLocator(world.page, identifier, 'element');
|
|
110
|
+
let locator = await helpers.getLocator(world.page, identifier, 'element');
|
|
58
111
|
await test.expect(locator).toBeEnabled();
|
|
59
112
|
});
|
|
60
|
-
quickpickle.Then('a/an/the {string} should be checked', async function (world, identifier) {
|
|
61
|
-
let locator = await getLocator(world.page, identifier, 'element');
|
|
62
|
-
await test.expect(locator).toBeChecked();
|
|
63
|
-
});
|
|
64
|
-
quickpickle.Then('a/an/the {string} should be unchecked', async function (world, identifier) {
|
|
65
|
-
let locator = await getLocator(world.page, identifier, 'element');
|
|
66
|
-
await test.expect(locator).not.toBeChecked();
|
|
67
|
-
});
|
|
68
|
-
quickpickle.Then('a/an/the {string} should be focused/active', async function (world, identifier) {
|
|
69
|
-
let locator = await getLocator(world.page, identifier, 'element');
|
|
70
|
-
await test.expect(locator).toBeFocused();
|
|
71
|
-
});
|
|
72
|
-
quickpickle.Then('a/an/the {string} should be unfocused/blurred', async function (world, identifier) {
|
|
73
|
-
let locator = await getLocator(world.page, identifier, 'element');
|
|
74
|
-
await test.expect(locator).not.toBeFocused();
|
|
75
|
-
});
|
|
76
|
-
quickpickle.Then('a/an/the {string} should be visible', async function (world, identifier) {
|
|
77
|
-
let locator = await getLocator(world.page, identifier, 'element');
|
|
78
|
-
await test.expect(locator).toBeVisible();
|
|
79
|
-
});
|
|
80
|
-
quickpickle.Then('a/an/the {string} should be hidden/invisible', async function (world, identifier) {
|
|
81
|
-
let locator = await getLocator(world.page, identifier, 'element');
|
|
82
|
-
await test.expect(locator).not.toBeVisible();
|
|
83
|
-
});
|
|
84
113
|
quickpickle.Then('a/an/the {string} {word} should be disabled', async function (world, identifier, role) {
|
|
85
|
-
let locator = await getLocator(world.page, identifier, role);
|
|
114
|
+
let locator = await helpers.getLocator(world.page, identifier, role);
|
|
86
115
|
await test.expect(locator).toBeDisabled();
|
|
87
116
|
});
|
|
88
117
|
quickpickle.Then('a/an/the {string} {word} should be enabled', async function (world, identifier, role) {
|
|
89
|
-
let locator = await getLocator(world.page, identifier, role);
|
|
118
|
+
let locator = await helpers.getLocator(world.page, identifier, role);
|
|
90
119
|
await test.expect(locator).toBeEnabled();
|
|
91
120
|
});
|
|
121
|
+
quickpickle.Then('a/an/the {string} (element )with (the )(text ){string} should be disabled', async function (world, identifier, text) {
|
|
122
|
+
let locator = await helpers.getLocator(world.page, identifier, 'element', text);
|
|
123
|
+
await test.expect(locator).toBeDisabled();
|
|
124
|
+
});
|
|
125
|
+
quickpickle.Then('a/an/the {string} (element )with (the )(text ){string} should be enabled', async function (world, identifier, text) {
|
|
126
|
+
let locator = await helpers.getLocator(world.page, identifier, 'element', text);
|
|
127
|
+
await test.expect(locator).toBeEnabled();
|
|
128
|
+
});
|
|
129
|
+
// checked / unchecked
|
|
130
|
+
quickpickle.Then('a/an/the {string} should be checked', async function (world, identifier) {
|
|
131
|
+
let locator = await helpers.getLocator(world.page, identifier, 'element');
|
|
132
|
+
await test.expect(locator).toBeChecked();
|
|
133
|
+
});
|
|
134
|
+
quickpickle.Then('a/an/the {string} should be unchecked', async function (world, identifier) {
|
|
135
|
+
let locator = await helpers.getLocator(world.page, identifier, 'element');
|
|
136
|
+
await test.expect(locator).not.toBeChecked();
|
|
137
|
+
});
|
|
92
138
|
quickpickle.Then('a/an/the {string} {word} should be checked', async function (world, identifier, role) {
|
|
93
|
-
let locator = await getLocator(world.page, identifier, role);
|
|
139
|
+
let locator = await helpers.getLocator(world.page, identifier, role);
|
|
94
140
|
await test.expect(locator).toBeChecked();
|
|
95
141
|
});
|
|
96
142
|
quickpickle.Then('a/an/the {string} {word} should be unchecked', async function (world, identifier, role) {
|
|
97
|
-
let locator = await getLocator(world.page, identifier, role);
|
|
143
|
+
let locator = await helpers.getLocator(world.page, identifier, role);
|
|
98
144
|
await test.expect(locator).not.toBeChecked();
|
|
99
145
|
});
|
|
100
|
-
quickpickle.Then('a/an/the {string} {
|
|
101
|
-
let locator = await getLocator(world.page, identifier,
|
|
146
|
+
quickpickle.Then('a/an/the {string} (element )with (the )(text ){string} should be checked', async function (world, identifier, text) {
|
|
147
|
+
let locator = await helpers.getLocator(world.page, identifier, 'element', text);
|
|
148
|
+
await test.expect(locator).toBeChecked();
|
|
149
|
+
});
|
|
150
|
+
quickpickle.Then('a/an/the {string} (element )with (the )(text ){string} should be unchecked', async function (world, identifier, text) {
|
|
151
|
+
let locator = await helpers.getLocator(world.page, identifier, 'element', text);
|
|
152
|
+
await test.expect(locator).not.toBeChecked();
|
|
153
|
+
});
|
|
154
|
+
// focused / unfocused
|
|
155
|
+
quickpickle.Then('a/an/the {string} should be focused/active', async function (world, identifier) {
|
|
156
|
+
let locator = await helpers.getLocator(world.page, identifier, 'element');
|
|
102
157
|
await test.expect(locator).toBeFocused();
|
|
103
158
|
});
|
|
104
|
-
quickpickle.Then('a/an/the {string}
|
|
105
|
-
let locator = await getLocator(world.page, identifier,
|
|
159
|
+
quickpickle.Then('a/an/the {string} should be unfocused/blurred', async function (world, identifier) {
|
|
160
|
+
let locator = await helpers.getLocator(world.page, identifier, 'element');
|
|
106
161
|
await test.expect(locator).not.toBeFocused();
|
|
107
162
|
});
|
|
108
|
-
quickpickle.Then('a/an/the {string} {word} should be
|
|
109
|
-
let locator = await getLocator(world.page, identifier, role);
|
|
110
|
-
await test.expect(locator).
|
|
163
|
+
quickpickle.Then('a/an/the {string} {word} should be focused/active', async function (world, identifier, role) {
|
|
164
|
+
let locator = await helpers.getLocator(world.page, identifier, role);
|
|
165
|
+
await test.expect(locator).toBeFocused();
|
|
111
166
|
});
|
|
112
|
-
quickpickle.Then('a/an/the {string} {word} should be
|
|
113
|
-
let locator = await getLocator(world.page, identifier, role);
|
|
114
|
-
await test.expect(locator).not.
|
|
167
|
+
quickpickle.Then('a/an/the {string} {word} should be unfocused/blurred', async function (world, identifier, role) {
|
|
168
|
+
let locator = await helpers.getLocator(world.page, identifier, role);
|
|
169
|
+
await test.expect(locator).not.toBeFocused();
|
|
115
170
|
});
|
|
116
|
-
quickpickle.Then('a/an/the {string}
|
|
117
|
-
let locator = await getLocator(world.page, identifier,
|
|
118
|
-
await test.expect(locator).
|
|
171
|
+
quickpickle.Then('a/an/the {string} (element )with (the )(text ){string} should be focused', async function (world, identifier, text) {
|
|
172
|
+
let locator = await helpers.getLocator(world.page, identifier, 'element', text);
|
|
173
|
+
await test.expect(locator).toBeFocused();
|
|
119
174
|
});
|
|
120
|
-
quickpickle.Then('a/an/the {string}
|
|
121
|
-
let locator = await getLocator(world.page, identifier,
|
|
122
|
-
await test.expect(locator).
|
|
175
|
+
quickpickle.Then('a/an/the {string} (element )with (the )(text ){string} should be unfocused/blurred', async function (world, identifier, text) {
|
|
176
|
+
let locator = await helpers.getLocator(world.page, identifier, 'element', text);
|
|
177
|
+
await test.expect(locator).not.toBeFocused();
|
|
123
178
|
});
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
await
|
|
179
|
+
// in viewport / out of viewport
|
|
180
|
+
quickpickle.Then('a/an/the {string} should be in(side) (of )the viewport', async function (world, identifier) {
|
|
181
|
+
let locator = await helpers.getLocator(world.page, identifier, 'element');
|
|
182
|
+
await test.expect(locator).toBeInViewport();
|
|
127
183
|
});
|
|
128
|
-
quickpickle.Then('a/an/the {string}
|
|
129
|
-
let locator = await getLocator(world.page, identifier,
|
|
130
|
-
await test.expect(locator).not.
|
|
184
|
+
quickpickle.Then('a/an/the {string} should be out(side) (of )the viewport', async function (world, identifier) {
|
|
185
|
+
let locator = await helpers.getLocator(world.page, identifier, 'element');
|
|
186
|
+
await test.expect(locator).not.toBeInViewport();
|
|
131
187
|
});
|
|
132
|
-
quickpickle.Then('a/an/the {string} {word}
|
|
133
|
-
let locator = await getLocator(world.page, identifier, role
|
|
134
|
-
await test.expect(locator).
|
|
188
|
+
quickpickle.Then('a/an/the {string} {word} should be in(side) (of )the viewport', async function (world, identifier, role) {
|
|
189
|
+
let locator = await helpers.getLocator(world.page, identifier, role);
|
|
190
|
+
await test.expect(locator).toBeInViewport();
|
|
135
191
|
});
|
|
136
|
-
quickpickle.Then('a/an/the {string} {word}
|
|
137
|
-
let locator = await getLocator(world.page, identifier, role
|
|
138
|
-
await test.expect(locator).not.
|
|
192
|
+
quickpickle.Then('a/an/the {string} {word} should be out(side) (of )the viewport', async function (world, identifier, role) {
|
|
193
|
+
let locator = await helpers.getLocator(world.page, identifier, role);
|
|
194
|
+
await test.expect(locator).not.toBeInViewport();
|
|
139
195
|
});
|
|
140
|
-
quickpickle.Then('a/an/the {string}
|
|
141
|
-
let locator = await getLocator(world.page, identifier,
|
|
142
|
-
await test.expect(locator).
|
|
196
|
+
quickpickle.Then('a/an/the {string} (element )with (the )(text ){string} should be in(side) (of )the viewport', async function (world, identifier, text) {
|
|
197
|
+
let locator = await helpers.getLocator(world.page, identifier, 'element', text);
|
|
198
|
+
await test.expect(locator).toBeInViewport();
|
|
143
199
|
});
|
|
144
|
-
quickpickle.Then('a/an/the {string}
|
|
145
|
-
let locator = await getLocator(world.page, identifier,
|
|
146
|
-
await test.expect(locator).not.
|
|
200
|
+
quickpickle.Then('a/an/the {string} (element )with (the )(text ){string} should be out(side) (of )the viewport', async function (world, identifier, text) {
|
|
201
|
+
let locator = await helpers.getLocator(world.page, identifier, 'element', text);
|
|
202
|
+
await test.expect(locator).not.toBeInViewport();
|
|
147
203
|
});
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
let
|
|
204
|
+
// Values
|
|
205
|
+
quickpickle.Then('a/an/the (value of ){string} should contain/include/be/equal {string}', async function (world, identifier, expected) {
|
|
206
|
+
let exact = world.info.step?.match(/ should (?:be|equal) ['"]/) ? true : false;
|
|
207
|
+
let locator = await helpers.getLocator(world.page, identifier, 'input');
|
|
151
208
|
if (exact)
|
|
152
|
-
await test.expect(
|
|
153
|
-
else
|
|
154
|
-
await
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
209
|
+
await test.expect(locator).toHaveValue(expected);
|
|
210
|
+
else {
|
|
211
|
+
let actual = await locator.inputValue();
|
|
212
|
+
await test.expect(actual).toContain(expected);
|
|
213
|
+
}
|
|
214
|
+
});
|
|
215
|
+
quickpickle.Then('a/an/the (value of )(the ){string} {word} should contain/include/be/equal {string}', async function (world, identifier, role, expected) {
|
|
216
|
+
let exact = world.info.step?.match(/ should (?:be|equal) ['"]/) ? true : false;
|
|
217
|
+
if (role === 'metatag')
|
|
218
|
+
await test.expect(await helpers.testMetatag(world.page, identifier, expected, exact)).toBe(true);
|
|
219
|
+
else {
|
|
220
|
+
let locator = await helpers.getLocator(world.page, identifier, role);
|
|
221
|
+
if (exact)
|
|
222
|
+
await test.expect(locator).toHaveValue(expected);
|
|
223
|
+
else {
|
|
224
|
+
let actual = await locator.inputValue();
|
|
225
|
+
await test.expect(actual).toContain(expected);
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
});
|
|
229
|
+
quickpickle.Then('a/an/the (value of )(the ){string} should not/NOT contain/include/be/equal {string}', async function (world, identifier, expected) {
|
|
230
|
+
let exact = world.info.step?.match(/ should (?:not|NOT) (?:be|equal) ['"]/) ? true : false;
|
|
231
|
+
let locator = await helpers.getLocator(world.page, identifier, 'input');
|
|
159
232
|
if (exact)
|
|
160
|
-
await test.expect(
|
|
161
|
-
else
|
|
162
|
-
await
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
await
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
233
|
+
await test.expect(locator).not.toHaveValue(expected);
|
|
234
|
+
else {
|
|
235
|
+
let actual = await locator.inputValue();
|
|
236
|
+
await test.expect(actual).not.toContain(expected);
|
|
237
|
+
}
|
|
238
|
+
});
|
|
239
|
+
quickpickle.Then('a/an/the (value of )(the ){string} {word} should not/NOT contain/include/be/equal {string}', async function (world, identifier, role, expected) {
|
|
240
|
+
let exact = world.info.step?.match(/ should (?:not|NOT) (?:be|equal) ['"]/) ? true : false;
|
|
241
|
+
if (role === 'metatag')
|
|
242
|
+
await test.expect(await helpers.testMetatag(world.page, identifier, expected, exact)).toBe(false);
|
|
243
|
+
else {
|
|
244
|
+
let locator = await helpers.getLocator(world.page, identifier, role);
|
|
245
|
+
if (exact)
|
|
246
|
+
await test.expect(locator).not.toHaveValue(expected);
|
|
247
|
+
else {
|
|
248
|
+
let actual = await locator.inputValue();
|
|
249
|
+
await test.expect(actual).not.toContain(expected);
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
});
|
|
253
|
+
// Metatags
|
|
254
|
+
quickpickle.Then('the meta( )tag {string} should contain/include/be/equal {string}', async function (world, name, expected) {
|
|
255
|
+
let exact = world.info.step?.match(/ should (?:be|equal) ['"]/) ? true : false;
|
|
256
|
+
await test.expect(await helpers.testMetatag(world.page, name, expected, exact)).toBe(true);
|
|
257
|
+
});
|
|
258
|
+
quickpickle.Then('the meta( )tag {string} should not/NOT contain/include/be/equal {string}', async function (world, name, expected) {
|
|
259
|
+
let exact = world.info.step?.match(/ should (?:not|NOT) (?:be|equal) ['"]/) ? true : false;
|
|
260
|
+
await test.expect(await helpers.testMetatag(world.page, name, expected, exact)).toBe(false);
|
|
261
|
+
});
|
|
262
|
+
// Visual regression testing
|
|
177
263
|
quickpickle.Then('(the )screenshot should match', async function (world) {
|
|
178
|
-
await test.expect(world.page).toMatchScreenshot(`${world.playwrightConfig.screenshotDir}/${
|
|
264
|
+
await test.expect(world.page).toMatchScreenshot(`${world.playwrightConfig.screenshotDir}/${helpers.defaultScreenshotPath(world)}`);
|
|
179
265
|
});
|
|
180
266
|
quickpickle.Then('(the )screenshot {string} should match', async function (world, name) {
|
|
181
267
|
await test.expect(world.page).toMatchScreenshot(`${world.playwrightConfig.screenshotDir}/${name}.png`);
|
|
182
268
|
});
|
|
269
|
+
// Browser context
|
|
183
270
|
quickpickle.Then('the user agent should contain/be {string}', async function (world, ua) {
|
|
184
271
|
await test.expect(world.browser.browserType().name()).toContain(ua);
|
|
185
272
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"outcomes.steps.cjs","sources":["../src/outcomes.steps.ts"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