New select woka scene (#1997)

* animated grid tiles
* change woka's category with arrow buttons
* added some dynamic effects to woka's list
* add some drag distance treshold
* do not show arrows if only one collection
* WSAD and arrow keys movement through WOKA models
* Adapting end to end tests

Co-authored-by: Piotr 'pwh' Hanusiak <p.hanusiak@workadventu.re>
Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
This commit is contained in:
Piotr Hanusiak
2022-04-22 17:56:28 +02:00
committed by GitHub
parent 4ffcc3139f
commit bb3f52df37
11 changed files with 362 additions and 356 deletions
+2 -1
View File
@@ -11,8 +11,9 @@ export async function login(
await page.fill('input[name="loginSceneName"]', userName);
await page.click('button.loginSceneFormSubmit');
await page.waitForTimeout(1000);
for (let i = 0; i < characterNumber; i++) {
await page.click('button.selectCharacterButtonRight');
await page.keyboard.press('ArrowRight');
}
await page.click('button.selectCharacterSceneFormSubmit');