@transferwise/components 0.0.0-experimental-aa75861 → 0.0.0-experimental-eb917d6
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": "@transferwise/components",
|
|
3
|
-
"version": "0.0.0-experimental-
|
|
3
|
+
"version": "0.0.0-experimental-eb917d6",
|
|
4
4
|
"description": "Neptune React components",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -92,8 +92,8 @@
|
|
|
92
92
|
"rollup-preserve-directives": "^1.1.1",
|
|
93
93
|
"storybook": "^8.2.2",
|
|
94
94
|
"@transferwise/less-config": "3.1.0",
|
|
95
|
-
"@
|
|
96
|
-
"@
|
|
95
|
+
"@transferwise/neptune-css": "14.20.1",
|
|
96
|
+
"@wise/components-theming": "1.6.1"
|
|
97
97
|
},
|
|
98
98
|
"peerDependencies": {
|
|
99
99
|
"@transferwise/icons": "^3.13.1",
|
|
@@ -203,14 +203,17 @@ export const Currencies: Story<Currency> = {
|
|
|
203
203
|
});
|
|
204
204
|
|
|
205
205
|
await step('Type "huf" in the combobox', async () => {
|
|
206
|
+
// this is workaround for Chromatic: Firefox and Edge tests failing.
|
|
207
|
+
// Unclear on a proper solution
|
|
208
|
+
await wait(750);
|
|
206
209
|
const input = await screen.findByRole('combobox');
|
|
207
210
|
await userEvent.type(input, 'huf');
|
|
208
211
|
});
|
|
209
212
|
|
|
210
213
|
await step('Check if no options are displayed', async () => {
|
|
211
|
-
// this is workaround for Chromatic: Firefox tests failing.
|
|
214
|
+
// this is workaround for Chromatic: Firefox and Edge tests failing.
|
|
212
215
|
// Unclear on a proper solution
|
|
213
|
-
await wait(
|
|
216
|
+
await wait(750);
|
|
214
217
|
await expect(await screen.findByText(/^No results found/u)).toBeInTheDocument();
|
|
215
218
|
await expect(await screen.findByText(/^It’s not possible use HUF yet./u)).toBeInTheDocument();
|
|
216
219
|
await waitFor(
|
|
@@ -222,6 +225,7 @@ export const Currencies: Story<Currency> = {
|
|
|
222
225
|
});
|
|
223
226
|
|
|
224
227
|
await step('Remove last two characters', async () => {
|
|
228
|
+
await wait(500);
|
|
225
229
|
const input = await screen.findByRole('combobox');
|
|
226
230
|
await userEvent.type(input, '{Backspace}{Backspace}');
|
|
227
231
|
});
|