@quickpickle/vitest-browser 0.2.1 → 0.3.0
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/CHANGELOG.md +25 -0
- package/dist/VitestBrowserWorld.cjs +9 -0
- package/dist/VitestBrowserWorld.cjs.map +1 -1
- package/dist/VitestBrowserWorld.d.ts +20 -0
- package/dist/VitestBrowserWorld.mjs +9 -0
- package/dist/VitestBrowserWorld.mjs.map +1 -1
- package/dist/actions.steps.cjs +30 -30
- package/dist/actions.steps.cjs.map +1 -1
- package/dist/actions.steps.mjs +30 -30
- package/dist/actions.steps.mjs.map +1 -1
- package/dist/outcomes.steps.cjs +44 -44
- package/dist/outcomes.steps.cjs.map +1 -1
- package/dist/outcomes.steps.mjs +44 -44
- package/dist/outcomes.steps.mjs.map +1 -1
- package/package.json +3 -3
- package/src/VitestBrowserWorld.ts +29 -0
- package/src/actions.steps.ts +30 -30
- package/src/outcomes.steps.ts +44 -44
package/dist/actions.steps.mjs
CHANGED
|
@@ -26,22 +26,22 @@ Given('I render (the ){string}( component) with the following props/properties:'
|
|
|
26
26
|
// Interaction
|
|
27
27
|
When('I click/press/tap/touch (on ){string}', async function (world, identifier) {
|
|
28
28
|
let locator = world.page.getByText(identifier, { exact: true });
|
|
29
|
-
await locator.click(
|
|
30
|
-
});
|
|
29
|
+
await locator.click();
|
|
30
|
+
}, -10);
|
|
31
31
|
When('I click/press/tap/touch (on )the {string} {word}', async function (world, identifier, role) {
|
|
32
32
|
let locator = world.getLocator(world.page, identifier, role);
|
|
33
|
-
await locator.click(
|
|
34
|
-
});
|
|
33
|
+
await locator.click();
|
|
34
|
+
}, -10);
|
|
35
35
|
When('I focus/select/activate (on ){string}', async function (world, identifier) {
|
|
36
36
|
let locator = world.page.getByText(identifier, { exact: true });
|
|
37
37
|
locator.element()?.focus();
|
|
38
38
|
await expect(locator).toHaveFocus();
|
|
39
|
-
});
|
|
39
|
+
}, -10);
|
|
40
40
|
When('I focus/select/activate (on )the {string} {word}', async function (world, identifier, role) {
|
|
41
41
|
let locator = world.getLocator(world.page, identifier, role);
|
|
42
42
|
locator.element().focus();
|
|
43
43
|
await expect(locator).toHaveFocus();
|
|
44
|
-
});
|
|
44
|
+
}, -10);
|
|
45
45
|
// ================
|
|
46
46
|
// Typing
|
|
47
47
|
When("for/in/on (the ){string} I type {string}", async function (world, identifier, value) {
|
|
@@ -49,20 +49,20 @@ When("for/in/on (the ){string} I type {string}", async function (world, identifi
|
|
|
49
49
|
const element = locator.element();
|
|
50
50
|
element.focus();
|
|
51
51
|
await world.userEvent.keyboard(value);
|
|
52
|
-
});
|
|
52
|
+
}, -10);
|
|
53
53
|
When("for/in/on (the ){string} {word} I type {string}", async function (world, identifier, role, value) {
|
|
54
54
|
const locator = world.getLocator(world.page, identifier, role);
|
|
55
55
|
const element = locator.element();
|
|
56
56
|
element.focus();
|
|
57
57
|
await world.userEvent.keyboard(value);
|
|
58
|
-
});
|
|
58
|
+
}, -10);
|
|
59
59
|
When('I type the following keys: {}', async function (world, keys) {
|
|
60
60
|
for (let key of keys.split(' ')) {
|
|
61
61
|
if (key !== '{{' && key !== '[[' && !key.match(/^[\{\[].+[\}\]]$/))
|
|
62
62
|
key = `{${key}}`;
|
|
63
63
|
await world.userEvent.keyboard(key);
|
|
64
64
|
}
|
|
65
|
-
});
|
|
65
|
+
}, -10);
|
|
66
66
|
When("for/in/on (the ){string} I type the following keys: {}", async function (world, identifier, keys) {
|
|
67
67
|
const locator = world.getLocator(world.page, identifier, 'input');
|
|
68
68
|
const element = locator.element();
|
|
@@ -72,7 +72,7 @@ When("for/in/on (the ){string} I type the following keys: {}", async function (w
|
|
|
72
72
|
key = `{${key}}`;
|
|
73
73
|
await world.userEvent.keyboard(key);
|
|
74
74
|
}
|
|
75
|
-
});
|
|
75
|
+
}, -10);
|
|
76
76
|
When("for/in/on (the ){string} {word} I type the following keys: {}", async function (world, identifier, role, keys) {
|
|
77
77
|
const locator = world.getLocator(world.page, identifier, role);
|
|
78
78
|
const element = locator.element();
|
|
@@ -82,25 +82,25 @@ When("for/in/on (the ){string} {word} I type the following keys: {}", async func
|
|
|
82
82
|
key = `{${key}}`;
|
|
83
83
|
await world.userEvent.keyboard(key);
|
|
84
84
|
}
|
|
85
|
-
});
|
|
85
|
+
}, -10);
|
|
86
86
|
// ================
|
|
87
87
|
// Forms
|
|
88
88
|
When("for/in/on (the ){string} I enter/fill/select (in ){string}", async function (world, identifier, value) {
|
|
89
89
|
let locator = world.getLocator(world.page, identifier, 'input');
|
|
90
90
|
await world.setValue(locator, value);
|
|
91
|
-
});
|
|
91
|
+
}, -10);
|
|
92
92
|
When("for/in/on (the ){string} {word} I enter/fill/select (in ){string}", async function (world, identifier, role, value) {
|
|
93
93
|
let locator = world.getLocator(world.page, identifier, role);
|
|
94
94
|
await world.setValue(locator, value);
|
|
95
|
-
});
|
|
95
|
+
}, -10);
|
|
96
96
|
When("for/in/on (the ){string} I enter/fill/select (in )the following( text):", async function (world, identifier, value) {
|
|
97
97
|
let locator = world.getLocator(world.page, identifier, 'input');
|
|
98
98
|
await world.setValue(locator, value.toString());
|
|
99
|
-
});
|
|
99
|
+
}, -10);
|
|
100
100
|
When("for/in/on (the ){string} {word} I enter/fill/select (in )the following( text):", async function (world, identifier, role, value) {
|
|
101
101
|
let locator = world.getLocator(world.page, identifier, role);
|
|
102
102
|
await world.setValue(locator, value.toString());
|
|
103
|
-
});
|
|
103
|
+
}, -10);
|
|
104
104
|
When('I enter/fill (in )the following( fields):', async function (world, table) {
|
|
105
105
|
let rows = table.raw();
|
|
106
106
|
let hasRole = rows[0].length === 3;
|
|
@@ -113,67 +113,67 @@ When('I enter/fill (in )the following( fields):', async function (world, table)
|
|
|
113
113
|
let locator = world.getLocator(world.page, identifier, role);
|
|
114
114
|
await world.setValue(locator, value);
|
|
115
115
|
}
|
|
116
|
-
});
|
|
116
|
+
}, -10);
|
|
117
117
|
When('I check (the ){string}( radio)( checkbox)( box)', async function (world, indentifier) {
|
|
118
118
|
let locator = world.getLocator(world.page, indentifier, 'input');
|
|
119
119
|
await world.setValue(locator, 'on');
|
|
120
|
-
});
|
|
120
|
+
}, -10);
|
|
121
121
|
When('I uncheck (the ){string}( checkbox)( box)', async function (world, indentifier) {
|
|
122
122
|
let locator = world.getLocator(world.page, indentifier, 'input');
|
|
123
123
|
await world.setValue(locator, 'off');
|
|
124
|
-
});
|
|
124
|
+
}, -10);
|
|
125
125
|
// ================
|
|
126
126
|
// Waiting
|
|
127
127
|
// When('I wait for {string} to be attached/detatched/visible/hidden', async function (world:VitestBrowserWorld, text) {
|
|
128
128
|
// let state = world.info.step?.match(/(attached|detatched|visible|hidden)$/)![0] as 'attached'|'detached'|'visible'|'hidden'
|
|
129
129
|
// let locator = world.page.getByText(text)
|
|
130
|
-
// await locator.waitFor({ state
|
|
130
|
+
// await locator.waitFor({ state })
|
|
131
131
|
// })
|
|
132
132
|
// When('I wait for a/an/the {string} {word} to be attached/detatched/visible/hidden', async function (world:VitestBrowserWorld, identifier, role) {
|
|
133
133
|
// let state = world.info.step?.match(/(attached|detatched|visible|hidden)$/)![0] as 'attached'|'detached'|'visible'|'hidden'
|
|
134
134
|
// let locator = world.getLocator(world.page, identifier, role)
|
|
135
|
-
// await locator.waitFor({ state
|
|
135
|
+
// await locator.waitFor({ state })
|
|
136
136
|
// })
|
|
137
137
|
When('I wait (for ){int}ms', async function (world, num) {
|
|
138
138
|
await world.wait(num);
|
|
139
|
-
});
|
|
139
|
+
}, -10);
|
|
140
140
|
When('I wait (for ){float} second(s)', async function (world, num) {
|
|
141
141
|
await world.wait(num * 1000);
|
|
142
|
-
});
|
|
142
|
+
}, -10);
|
|
143
143
|
// ================
|
|
144
144
|
// Scrolling
|
|
145
145
|
When('I scroll down/up/left/right', async function (world) {
|
|
146
146
|
let direction = world.info.step?.match(/(down|up|left|right)$/)[0];
|
|
147
147
|
await world.scroll(world.page, direction);
|
|
148
|
-
});
|
|
148
|
+
}, -10);
|
|
149
149
|
When('I scroll down/up/left/right {int}(px)( pixels)', async function (world, num) {
|
|
150
150
|
let direction = world.info.step?.match(/(down|up|left|right)(?= \d)/)[0];
|
|
151
151
|
await world.scroll(world.page, direction, num);
|
|
152
|
-
});
|
|
152
|
+
}, -10);
|
|
153
153
|
When('I scroll (the ){string} {word} down/up/left/right', async function (world, identifier, role) {
|
|
154
154
|
let locator = world.getLocator(world.page, identifier, role);
|
|
155
155
|
let direction = world.info.step?.match(/(down|up|left|right)$/)[0];
|
|
156
156
|
await world.scroll(locator, direction);
|
|
157
|
-
});
|
|
157
|
+
}, -10);
|
|
158
158
|
When('I scroll (the ){string} {word} down/up/left/right {int}(px)( pixels)', async function (world, identifier, role, num) {
|
|
159
159
|
let locator = world.getLocator(world.page, identifier, role);
|
|
160
160
|
let direction = world.info.step?.match(/(down|up|left|right)(?= \d)/)[0];
|
|
161
161
|
await world.scroll(locator, direction, num);
|
|
162
|
-
});
|
|
162
|
+
}, -10);
|
|
163
163
|
// ================
|
|
164
164
|
// Screenshots
|
|
165
165
|
Then('(I )take (a )screenshot', async function (world) {
|
|
166
166
|
await world.screenshot();
|
|
167
|
-
});
|
|
167
|
+
}, -10);
|
|
168
168
|
Then('(I )take (a )screenshot named {string}', async function (world, name) {
|
|
169
169
|
await world.screenshot({ name });
|
|
170
|
-
});
|
|
170
|
+
}, -10);
|
|
171
171
|
Then('(I )take (a )screenshot of the {string} {word}', async function (world, identifier, role) {
|
|
172
172
|
let locator = world.getLocator(world.page, identifier, role);
|
|
173
173
|
await world.screenshot({ locator });
|
|
174
|
-
});
|
|
174
|
+
}, -10);
|
|
175
175
|
Then('(I )take (a )screenshot of the {string} {word} named {string}', async function (world, identifier, role, name) {
|
|
176
176
|
let locator = world.getLocator(world.page, identifier, role);
|
|
177
177
|
await world.screenshot({ locator, name });
|
|
178
|
-
});
|
|
178
|
+
}, -10);
|
|
179
179
|
//# sourceMappingURL=actions.steps.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.steps.mjs","sources":["../src/actions.steps.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAIA;AAEA;;AAEG;AAEH,KAAK,CAAC,qCAAqC,EAAE,OAAM,KAAwB,EAAE,IAAW,KAAI;AAC1F,IAAA,MAAM,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC;AAC1B,CAAC,CAAC;AAEF,KAAK,CAAC,0EAA0E,EAAE,OAAM,KAAwB,EAAE,IAAW,EAAE,KAAe,KAAI;AAChJ,IAAA,IAAI,QAAQ,GAAG,KAAK,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,CAAC,GAAsB,EAAE,GAAY,KAAI;AACzE,QAAA,IAAI,KAAK;AACT,QAAA,IAAI;YACF,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;;QAC1B,OAAO,CAAC,EAAE;AACV,YAAA,KAAK,GAAG,GAAG,CAAC,CAAC,CAAC;;QAEhB,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,KAAK;AACnB,QAAA,OAAO,GAAG;KACX,EAAE,EAAE,CAAC;IACN,MAAM,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,QAAQ,CAAC;AACpC,CAAC,CAAC;AAGF;AACA;AAEA,IAAI,CAAC,uCAAuC,EAAE,gBAAgB,KAAwB,EAAE,UAAU,EAAA;AAChG,IAAA,IAAI,OAAO,GAAG,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,UAAU,EAAE,EAAE,KAAK,EAAC,IAAI,EAAE,CAAC;AAC9D,IAAA,MAAM,OAAO,CAAC,KAAK,
|
|
1
|
+
{"version":3,"file":"actions.steps.mjs","sources":["../src/actions.steps.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAIA;AAEA;;AAEG;AAEH,KAAK,CAAC,qCAAqC,EAAE,OAAM,KAAwB,EAAE,IAAW,KAAI;AAC1F,IAAA,MAAM,KAAK,CAAC,MAAM,CAAC,IAAI,CAA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C;IAC5D,MAAM,KAAK,CAAC,UAAU,CAAC,EAAE,OAAO,EAAE,CAAC;AACrC,CAAC,EAAE,GAAG,CAAC;AACP,IAAI,CAAC,+DAA+D,EAAE,gBAAgB,KAAwB,EAAE,UAAiB,EAAE,IAAW,EAAE,IAAW,EAAA;AACzJ,IAAA,IAAI,OAAO,GAAG,KAAK,CAAC,UAAU,CAAC,KAAK,CAAC,IAAI,EAAE,UAAU,EAAE,IAAI,CAAC;IAC5D,MAAM,KAAK,CAAC,UAAU,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;AAC3C,CAAC,EAAE,GAAG,CAAC"}
|
package/dist/outcomes.steps.cjs
CHANGED
|
@@ -31,34 +31,34 @@ vitest.expect.extend({
|
|
|
31
31
|
// Text on page
|
|
32
32
|
quickpickle.Then('I should see {string}( on the page)', async function (world, text) {
|
|
33
33
|
await world.expectText(world.page, text);
|
|
34
|
-
});
|
|
34
|
+
}, -10);
|
|
35
35
|
quickpickle.Then('I should not/NOT see {string}( on the page)', async function (world, text) {
|
|
36
36
|
await world.expectText(world.page, text, false);
|
|
37
|
-
});
|
|
37
|
+
}, -10);
|
|
38
38
|
quickpickle.Then('the text {string} should be visible( on the page)', async function (world, text) {
|
|
39
39
|
await world.expectText(world.page, text);
|
|
40
|
-
});
|
|
40
|
+
}, -10);
|
|
41
41
|
quickpickle.Then('the text {string} should not/NOT be visible( on the page)', async function (world, text) {
|
|
42
42
|
await world.expectText(world.page, text, false);
|
|
43
|
-
});
|
|
43
|
+
}, -10);
|
|
44
44
|
// ================
|
|
45
45
|
// Elements on page
|
|
46
46
|
quickpickle.Then('I should see a/an/the {string} {word}', async function (world, identifier, role) {
|
|
47
47
|
let locator = await world.getLocator(world.page, identifier, role);
|
|
48
48
|
await world.expectElement(locator);
|
|
49
|
-
});
|
|
49
|
+
}, -10);
|
|
50
50
|
quickpickle.Then('I should not/NOT see a/an/the {string} {word}', async function (world, identifier, role) {
|
|
51
51
|
let locator = await world.getLocator(world.page, identifier, role);
|
|
52
52
|
await world.expectElement(locator, false);
|
|
53
|
-
});
|
|
53
|
+
}, -10);
|
|
54
54
|
quickpickle.Then('I should see a/an/the {string} (element )with (the )(text ){string}', async function (world, identifier, text) {
|
|
55
55
|
let locator = await world.getLocator(world.page, identifier, 'element', text);
|
|
56
56
|
await world.expectElement(locator);
|
|
57
|
-
});
|
|
57
|
+
}, -10);
|
|
58
58
|
quickpickle.Then('I should not/NOT see a/an/the {string} (element )with (the )(text ){string}', async function (world, identifier, text) {
|
|
59
59
|
let locator = await world.getLocator(world.page, identifier, 'element', text);
|
|
60
60
|
await world.expectElement(locator, false);
|
|
61
|
-
});
|
|
61
|
+
}, -10);
|
|
62
62
|
// ================
|
|
63
63
|
// Actions
|
|
64
64
|
quickpickle.Then('{string} should have been clicked/doubleclicked/dblclicked', async function (world, text) {
|
|
@@ -67,7 +67,7 @@ quickpickle.Then('{string} should have been clicked/doubleclicked/dblclicked', a
|
|
|
67
67
|
vitest.expect(world.actions.clicks.find((el) => (el && el?.textContent === text))).not.toBeNull();
|
|
68
68
|
else
|
|
69
69
|
vitest.expect(world.actions.doubleClicks.find((el) => (el && el?.textContent === text))).not.toBeNull();
|
|
70
|
-
});
|
|
70
|
+
}, -10);
|
|
71
71
|
quickpickle.Then('(the ){string} {word} should have been clicked/doubleclicked/dblclicked', async function (world, identifier, role) {
|
|
72
72
|
let single = world.info.step?.match(/ clicked$/);
|
|
73
73
|
let element = world.getLocator(world.page, identifier, role);
|
|
@@ -75,98 +75,98 @@ quickpickle.Then('(the ){string} {word} should have been clicked/doubleclicked/d
|
|
|
75
75
|
vitest.expect(world.actions.clicks.find((el) => (el === element))).not.toBeNull();
|
|
76
76
|
else
|
|
77
77
|
vitest.expect(world.actions.doubleClicks.find((el) => (el === element))).not.toBeNull();
|
|
78
|
-
});
|
|
78
|
+
}, -10);
|
|
79
79
|
// ================
|
|
80
80
|
// Element state
|
|
81
81
|
quickpickle.Then('a/an/the {string} {word} should be visible/hidden/invisible', async function (world, identifier, role) {
|
|
82
82
|
let state = world.info.step?.match(/(\w+)$/)[0];
|
|
83
83
|
let locator = world.getLocator(world.page, identifier, role);
|
|
84
84
|
await world.expectElement(locator, true, state === 'visible');
|
|
85
|
-
});
|
|
85
|
+
}, -10);
|
|
86
86
|
quickpickle.Then('a/an/the {string} (element )with (the )(text ){string} should be visible/hidden/invisible', async function (world, identifier, text) {
|
|
87
87
|
let state = world.info.step?.match(/(\w+)$/)[0];
|
|
88
88
|
let locator = world.getLocator(world.page, identifier, 'element', text);
|
|
89
89
|
await world.expectElement(locator, true, state === 'visible');
|
|
90
|
-
});
|
|
90
|
+
}, -10);
|
|
91
91
|
// Then('a/an/the {string} {word} should be attached/detatched', async function (world:VitestBrowserWorld, identifier, role) {
|
|
92
92
|
// let state = world.info.step?.match(/(\w)$/)![0] as 'attached'|'detached'
|
|
93
93
|
// let locator = world.getLocator(world.page, identifier, role)
|
|
94
|
-
// await locator.waitFor({ state
|
|
95
|
-
// })
|
|
94
|
+
// await locator.waitFor({ state })
|
|
95
|
+
// }, -10)
|
|
96
96
|
// Then('a/an/the {string} (element )with (the )(text ){string} should be attached/detatched', async function (world:VitestBrowserWorld, identifier, text) {
|
|
97
97
|
// let state = world.info.step?.match(/(\w)$/)![0] as 'attached'|'detached'
|
|
98
98
|
// let locator = world.getLocator(world.page, identifier, 'element', text)
|
|
99
|
-
// await locator.waitFor({ state
|
|
100
|
-
// })
|
|
99
|
+
// await locator.waitFor({ state })
|
|
100
|
+
// }, -10)
|
|
101
101
|
// disabled / enabled
|
|
102
102
|
quickpickle.Then('a/an/the {string} {word} should be disabled', async function (world, identifier, role) {
|
|
103
103
|
let locator = await world.getLocator(world.page, identifier, role);
|
|
104
104
|
await vitest.expect(locator).toBeDisabled();
|
|
105
|
-
});
|
|
105
|
+
}, -10);
|
|
106
106
|
quickpickle.Then('a/an/the {string} {word} should be enabled', async function (world, identifier, role) {
|
|
107
107
|
let locator = await world.getLocator(world.page, identifier, role);
|
|
108
108
|
await vitest.expect(locator).toBeEnabled();
|
|
109
|
-
});
|
|
109
|
+
}, -10);
|
|
110
110
|
quickpickle.Then('a/an/the {string} (element )with (the )(text ){string} should be disabled', async function (world, identifier, text) {
|
|
111
111
|
let locator = await world.getLocator(world.page, identifier, 'element', text);
|
|
112
112
|
await vitest.expect(locator).toBeDisabled();
|
|
113
|
-
});
|
|
113
|
+
}, -10);
|
|
114
114
|
quickpickle.Then('a/an/the {string} (element )with (the )(text ){string} should be enabled', async function (world, identifier, text) {
|
|
115
115
|
let locator = await world.getLocator(world.page, identifier, 'element', text);
|
|
116
116
|
await vitest.expect(locator).toBeEnabled();
|
|
117
|
-
});
|
|
117
|
+
}, -10);
|
|
118
118
|
// checked / unchecked
|
|
119
119
|
quickpickle.Then('a/an/the {string} {word} should be checked', async function (world, identifier, role) {
|
|
120
120
|
let locator = await world.getLocator(world.page, identifier, role);
|
|
121
121
|
await vitest.expect(locator).toBeChecked();
|
|
122
|
-
});
|
|
122
|
+
}, -10);
|
|
123
123
|
quickpickle.Then('a/an/the {string} {word} should be unchecked', async function (world, identifier, role) {
|
|
124
124
|
let locator = await world.getLocator(world.page, identifier, role);
|
|
125
125
|
await vitest.expect(locator).not.toBeChecked();
|
|
126
|
-
});
|
|
126
|
+
}, -10);
|
|
127
127
|
quickpickle.Then('a/an/the {string} (element )with (the )(text ){string} should be checked', async function (world, identifier, text) {
|
|
128
128
|
let locator = await world.getLocator(world.page, identifier, 'element', text);
|
|
129
129
|
await vitest.expect(locator).toBeChecked();
|
|
130
|
-
});
|
|
130
|
+
}, -10);
|
|
131
131
|
quickpickle.Then('a/an/the {string} (element )with (the )(text ){string} should be unchecked', async function (world, identifier, text) {
|
|
132
132
|
let locator = await world.getLocator(world.page, identifier, 'element', text);
|
|
133
133
|
await vitest.expect(locator).not.toBeChecked();
|
|
134
|
-
});
|
|
134
|
+
}, -10);
|
|
135
135
|
// focused / unfocused
|
|
136
136
|
quickpickle.Then('a/an/the {string} {word} should be focused/active', async function (world, identifier, role) {
|
|
137
137
|
let locator = await world.getLocator(world.page, identifier, role);
|
|
138
138
|
await vitest.expect(locator).toHaveFocus();
|
|
139
|
-
});
|
|
139
|
+
}, -10);
|
|
140
140
|
quickpickle.Then('a/an/the {string} {word} should be unfocused/blurred', async function (world, identifier, role) {
|
|
141
141
|
let locator = await world.getLocator(world.page, identifier, role);
|
|
142
142
|
await vitest.expect(locator).not.toHaveFocus();
|
|
143
|
-
});
|
|
143
|
+
}, -10);
|
|
144
144
|
quickpickle.Then('a/an/the {string} (element )with (the )(text ){string} should be focused/active', async function (world, identifier, text) {
|
|
145
145
|
let locator = await world.getLocator(world.page, identifier, 'element', text);
|
|
146
146
|
await vitest.expect(locator).toHaveFocus();
|
|
147
|
-
});
|
|
147
|
+
}, -10);
|
|
148
148
|
quickpickle.Then('a/an/the {string} (element )with (the )(text ){string} should be unfocused/blurred', async function (world, identifier, text) {
|
|
149
149
|
let locator = await world.getLocator(world.page, identifier, 'element', text);
|
|
150
150
|
await vitest.expect(locator).not.toHaveFocus();
|
|
151
|
-
});
|
|
151
|
+
}, -10);
|
|
152
152
|
quickpickle.Then('a/an/the {string} {word} should be in(side) (of )the viewport', async function (world, identifier, role) {
|
|
153
153
|
let locator = await world.getLocator(world.page, identifier, role);
|
|
154
154
|
// @ts-ignore
|
|
155
155
|
await vitest.expect(locator).toBeInTheViewport();
|
|
156
|
-
});
|
|
156
|
+
}, -10);
|
|
157
157
|
quickpickle.Then('a/an/the {string} {word} should be out(side) (of )the viewport', async function (world, identifier, role) {
|
|
158
158
|
let locator = await world.getLocator(world.page, identifier, role);
|
|
159
159
|
// @ts-ignore
|
|
160
160
|
vitest.expect(locator).not.toBeInTheViewport();
|
|
161
|
-
});
|
|
161
|
+
}, -10);
|
|
162
162
|
// Then('a/an/the {string} (element )with (the )(text ){string} should be in(side) (of )the viewport', async function (world:VitestBrowserWorld, identifier, text) {
|
|
163
163
|
// let locator = await world.getLocator(world.page, identifier, 'element', text)
|
|
164
164
|
// await isInViewport(world, locator)
|
|
165
|
-
// })
|
|
165
|
+
// }, -10)
|
|
166
166
|
// Then('a/an/the {string} (element )with (the )(text ){string} should be out(side) (of )the viewport', async function (world:VitestBrowserWorld, identifier, text) {
|
|
167
167
|
// let locator = await world.getLocator(world.page, identifier, 'element', text)
|
|
168
168
|
// await isInViewport(world, locator)
|
|
169
|
-
// })
|
|
169
|
+
// }, -10)
|
|
170
170
|
// Values
|
|
171
171
|
quickpickle.Then('a/an/the (value of ){string} should contain/include/be/equal {string}', async function (world, identifier, expected) {
|
|
172
172
|
let exact = world.info.step?.match(/ should (?:be|equal) ['"]/) ? true : false;
|
|
@@ -177,7 +177,7 @@ quickpickle.Then('a/an/the (value of ){string} should contain/include/be/equal {
|
|
|
177
177
|
let actual = (await locator.element())?.value ?? '';
|
|
178
178
|
await vitest.expect(actual).toContain(expected);
|
|
179
179
|
}
|
|
180
|
-
});
|
|
180
|
+
}, -10);
|
|
181
181
|
quickpickle.Then('a/an/the (value of )(the ){string} {word} should contain/include/be/equal {string}', async function (world, identifier, role, expected) {
|
|
182
182
|
let exact = world.info.step?.match(/ should (?:be|equal) ['"]/) ? true : false;
|
|
183
183
|
let locator = await world.getLocator(world.page, identifier, role);
|
|
@@ -187,7 +187,7 @@ quickpickle.Then('a/an/the (value of )(the ){string} {word} should contain/inclu
|
|
|
187
187
|
let actual = (await locator.element())?.value ?? '';
|
|
188
188
|
await vitest.expect(actual).toContain(expected);
|
|
189
189
|
}
|
|
190
|
-
});
|
|
190
|
+
}, -10);
|
|
191
191
|
quickpickle.Then('a/an/the (value of )(the ){string} should not/NOT contain/include/be/equal {string}', async function (world, identifier, expected) {
|
|
192
192
|
let exact = world.info.step?.match(/ should (?:not|NOT) (?:be|equal) ['"]/) ? true : false;
|
|
193
193
|
let locator = await world.getLocator(world.page, identifier, 'input');
|
|
@@ -197,7 +197,7 @@ quickpickle.Then('a/an/the (value of )(the ){string} should not/NOT contain/incl
|
|
|
197
197
|
let actual = (await locator.element())?.value ?? '';
|
|
198
198
|
await vitest.expect(actual).not.toContain(expected);
|
|
199
199
|
}
|
|
200
|
-
});
|
|
200
|
+
}, -10);
|
|
201
201
|
quickpickle.Then('a/an/the (value of )(the ){string} {word} should not/NOT contain/include/be/equal {string}', async function (world, identifier, role, expected) {
|
|
202
202
|
let exact = world.info.step?.match(/ should (?:not|NOT) (?:be|equal) ['"]/) ? true : false;
|
|
203
203
|
let locator = await world.getLocator(world.page, identifier, role);
|
|
@@ -207,36 +207,36 @@ quickpickle.Then('a/an/the (value of )(the ){string} {word} should not/NOT conta
|
|
|
207
207
|
let actual = (await locator.element())?.value ?? '';
|
|
208
208
|
await vitest.expect(actual).not.toContain(expected);
|
|
209
209
|
}
|
|
210
|
-
});
|
|
210
|
+
}, -10);
|
|
211
211
|
quickpickle.Then('a/an/the (value of ){string} should be/equal {int}', async function (world, identifier, expected) {
|
|
212
212
|
let locator = await world.getLocator(world.page, identifier, 'input');
|
|
213
213
|
await vitest.expect(locator).toHaveValue(expected);
|
|
214
|
-
});
|
|
214
|
+
}, -10);
|
|
215
215
|
quickpickle.Then('a/an/the (value of )(the ){string} {word} should be/equal {int}', async function (world, identifier, role, expected) {
|
|
216
216
|
let locator = await world.getLocator(world.page, identifier, role);
|
|
217
217
|
await vitest.expect(locator).toHaveValue(expected);
|
|
218
|
-
});
|
|
218
|
+
}, -10);
|
|
219
219
|
quickpickle.Then('a/an/the (value of )(the ){string} should not/NOT be/equal {int}', async function (world, identifier, expected) {
|
|
220
220
|
let locator = await world.getLocator(world.page, identifier, 'input');
|
|
221
221
|
await vitest.expect(locator).not.toHaveValue(expected);
|
|
222
|
-
});
|
|
222
|
+
}, -10);
|
|
223
223
|
quickpickle.Then('a/an/the (value of )(the ){string} {word} should not/NOT be/equal {int}', async function (world, identifier, role, expected) {
|
|
224
224
|
let locator = await world.getLocator(world.page, identifier, role);
|
|
225
225
|
await vitest.expect(locator).not.toHaveValue(expected);
|
|
226
|
-
});
|
|
226
|
+
}, -10);
|
|
227
227
|
// Visual regression testing
|
|
228
228
|
quickpickle.Then('(the )screenshot/snapshot should match', async function (world) {
|
|
229
229
|
await world.expectScreenshotMatch(world.page);
|
|
230
|
-
});
|
|
230
|
+
}, -10);
|
|
231
231
|
quickpickle.Then('(the )screenshot/snapshot {string} should match', async function (world, name) {
|
|
232
232
|
await world.expectScreenshotMatch(world.page, name);
|
|
233
|
-
});
|
|
233
|
+
}, -10);
|
|
234
234
|
quickpickle.Then('(the )screenshot/snapshot of the {string} {word} should match', async function (world, identifier, role) {
|
|
235
235
|
let locator = await world.getLocator(world.page, identifier, role);
|
|
236
236
|
await world.expectScreenshotMatch(locator);
|
|
237
|
-
});
|
|
237
|
+
}, -10);
|
|
238
238
|
quickpickle.Then('(the )screenshot/snapshot {string} of the {string} {word} should match', async function (world, name, identifier, role) {
|
|
239
239
|
let locator = await world.getLocator(world.page, identifier, role);
|
|
240
240
|
await world.expectScreenshotMatch(locator, name);
|
|
241
|
-
});
|
|
241
|
+
}, -10);
|
|
242
242
|
//# sourceMappingURL=outcomes.steps.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"outcomes.steps.cjs","sources":["../src/outcomes.steps.ts"],"sourcesContent":[null],"names":["expect","Then"],"mappings":";;;;;AAKA;AAEAA,aAAM,CAAC,MAAM,CAAC;IACZ,MAAM,iBAAiB,CAAC,OAAe,EAAA;AACrC,QAAA,IAAI,KAAK,GAAG,MAAM,OAAO,CAAC,OAAO,EAAE;QACnC,OAAO,KAAK,CAAC,aAAa,IAAI,KAAK,CAAC,OAAO,KAAK,MAAM,EAAE;AACtD,YAAA,KAAK,GAAG,KAAK,CAAC,aAAa;;AAE7B,QAAA,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,qBAAqB,EAAE;QACpD,MAAM,IAAI,GAAG,MAAM,OAAO,CAAC,OAAO,EAAE,CAAC,qBAAqB,EAAE;QAC5D,IAAI,IAAI,EAAE;AACR,YAAA,MAAM,UAAU,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