summaryrefslogtreecommitdiff
path: root/cypress (follow)
Commit message (Collapse)AuthorAgeFilesLines
* enable TypeScript incremental mode to speed up IDEsHazelnoot2025-05-281-1/+2
|
* enhance(backend): refine system account (#15530)syuilo2025-03-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * wip * wip * Update SystemAccountService.ts * Update 1740121393164-system-accounts.js * Update DeleteAccountService.ts * wip * wip * wip * wip * Update 1740121393164-system-accounts.js * Update RepositoryModule.ts * wip * wip * wip * Update ApRendererService.ts * wip * wip * Update SystemAccountService.ts * fix tests * fix tests * fix tests * fix tests * fix tests * fix tests * add print logs * ログが長すぎて出てないかもしれない * fix migration * refactor * fix fed-tests * Update RelayService.ts * merge * Update user.test.ts * chore: emit log * fix: tweak sleep duration * fix: exit 1 * fix: wait for misskey processes to become healthy * fix: longer sleep for user deletion * fix: make sleep longer again * デッドロック解消の試み https://github.com/misskey-dev/misskey/issues/15005 * Revert "デッドロック解消の試み" This reverts commit 266141f66fb584371bbb56ef7eba04e14bcff94d. * wip * Update SystemAccountService.ts --------- Co-authored-by: おさむのひと <46447427+samunohito@users.noreply.github.com> Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com>
* fix: signin ↵かっこかり2024-10-052-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | の資格情報が足りないだけの場合はエラーにせず200を返すように (#14700) * fix: signin の資格情報が足りないだけの場合はエラーにせず200を返すように * run api extractor * fix * fix * fix test * /signin -> /signin-flow * fix * fix lint * rename * fix * fix
* enhance(frontend): サインイン画面の改善 (#14658)かっこかり2024-10-042-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * Update MkSignin.vue * Update MkSignin.vue * wip * Update CHANGELOG.md * enhance(frontend): サインイン画面の改善 * Update Changelog * 14655の変更取り込み * spdx * fix * fix * fix * :art: * :art: * :art: * :art: * Captchaがリセットされない問題を修正 * 次の処理をsignin apiから読み取るように * Add Comments * fix * fix test * attempt to fix test * fix test * fix test * fix test * fix * fix test * fix: 一部のエラーがちゃんと出るように * Update Changelog * :art: * :art: * remove border --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* fix(test): ↵かっこかり2024-10-041-0/+1
| | | | 初期セットアップで初期パスワードを入力していないのを修正 (#14685)
* feat: ↵かっこかり2024-10-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | サーバー初期設定時に初期パスワードを要求できるように (#14626) * feat: サーバー初期設定時専用の初期パスワードを設定できるように * 無いのに入力された場合もエラーにする * :art: * :art: * cypress-devcontainerにもpassを設定(テストが失敗するため) * [ci skip] :art: * :v: * test: please revert this commit before merge * Revert "test: please revert this commit before merge" This reverts commit 66b2b48f66830d2450d8cda03955c143feba76c7. * Update locales/ja-JP.yml Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com> * build assets * Update Changelog * fix condition * fix condition * add comment * change error code * 他のエラーコードと合わせる * Update CHANGELOG.md --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* test: do not use indexedDB in cypress environment due to chrome bug (#13709)anatawa122024-04-141-0/+4
|
* Cypress typescript (#13591)Gianni Ceccarelli2024-03-207-1/+28
| | | | | | | | | | | | | | | | | | | | | | | | | * convert Cypress tests to TypeScript this work was done by @lunaisnotaboy https://github.com/lunaisnotaboy for their fork https://github.com/cutiekey/cutiekey/pull/7 I just repacked their changes into a minimal set * fix call to `window` in cypress tests this error was spotted thanks to the TypeScript compiler: ``` support/commands.ts:33:12 - error TS2559: Type '(win: any) => void' has no properties in common with type 'Partial<Loggable & Timeoutable>'. 33 cy.window(win => { ~~~~~~~~ Found 1 error in support/commands.ts:33 ``` (again, @lunaisnotaboy did the actual work)
* chore: add missing SPDX ID and workflow check (#13570)zyoshoka2024-03-133-0/+15
| | | | | | | | | | | * chore: add workflow which checks if SPDX ID exists * chore: add missing SPDX ID in some files * chore: change trigger condition * chore: trigger on push * lint
* ci(test-frontend): ↵まっちゃとーにゅ2024-02-132-4/+4
| | | | | Cypressのテストの失敗時、永遠に止まらない問題を回避 (MisskeyIO#434) (#13274) 失敗しないようタイムアウトの延長・15分で止まるように
* feat(frontend/nirax): リダイレクトを設定できるように (#13030)かっこかり2024-01-281-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | * feat(frontend/nirax): リダイレクトを設定できるように * revert demonstrative changes * fix * revert unrelated changes * リダイレクトの際にパスが変わらない問題を修正 * リダイレクトが必要なrouteを設定 * fix lint * router向けe2eテストの追加 * fix --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp> Co-authored-by: samunohito <46447427+samunohito@users.noreply.github.com>
* fix: 2024-01-22 10:50時点のdevelopにてCIがコケている (#13060)おさむのひと2024-01-221-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix: バブルゲームのビルド失敗修正 * fix: api.jsonの定義誤りを修正 * fix: lint.yml(typecheck) * fix: fix eslint error * fix: frontend vitest version * fix: frontend vitest version * fix: * fix: cypress * fix: misskey-js test * fix: misskey-js tsd(tsdはpakcage.jsonのexportsをサポートしない?) * fix: conflict * fix: 間違えて上書きしたところを修正 * fix: 再 * fix: api.json * fix: api.json * fix: タイムアウト延長 * Update packages/misskey-js/jest.config.cjs Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com> --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp> Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>
* disable cypress widgets testssyuilo2023-10-191-0/+2
|
* fix e2e testsyuilo2023-07-201-0/+2
|
* cleanup: trim trailing whitespace (#11136)okayurisotto2023-07-081-1/+1
| | | | | | | | | * cleanup: trim trailing whitespace * update(`.editorconfig`) --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* Update basic.cy.jssyuilo2023-06-051-5/+0
|
* Update e2e.jssyuilo2023-06-051-0/+2
|
* feat: ↵NoriDev2023-05-261-0/+5
| | | | | | | | | | | | | アカウント初期設定ウィザードに戻るボタンと、後で進むボタンを追加 (#10893) * enhance(frontend): アカウント初期設定ウィザードに戻るボタンを追加 * enhance(frontend): アカウント初期設定ウィザードにあとでボタンを追加 * tweak --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* Update basic.cy.jssyuilo2023-05-121-0/+4
|
* fix(frontend): fix e2esyuilo2023-05-091-0/+24
|
* fix e2e testsyuilo2023-05-092-1/+26
|
* refactor for e2esyuilo2023-05-091-7/+7
|
* tweak MkSignupDialog.rules.vuesyuilo2023-04-201-2/+0
|
* feat: Server rules (#10660)syuilo2023-04-191-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * enhance(frontend): サーバールールのデザイン調整 * enhance(frontend): i18n * enhance(frontend): 利用規約URLの設定を「モデレーション」ページへ移動 * enhance(frontend): サーバールールのデザイン調整 * Update CHANGELOG.md * 不要な差分を削除 * fix(frontend): lint * ui tweak * test: add stories * tweak * test: bind args * test: add interaction tests * fix bug * Update packages/frontend/src/pages/admin/server-rules.vue Co-authored-by: Ebise Lutica <7106976+EbiseLutica@users.noreply.github.com> * Update misskey-js.api.md * chore: windowを明示 * :art: * refactor * :art: * :art: * fix e2e test * :art: * :art: * fix icon * fix e2e --------- Co-authored-by: Ebise Lutica <7106976+EbiseLutica@users.noreply.github.com> Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
* chore(test): data属性がclassになっているのを修正syuilo2023-03-091-4/+4
|
* fix: 登録フォームにおける競合状態を修正 (#10267)RyotaK2023-03-081-0/+4
| | | | | * fix: 登録フォームにおける競合状態を修正 * エラーを修正
* fix: 登録時のフォームにおいて送信できる条件を修正 (#10238)RyotaK2023-03-071-0/+13
| | | | | * fix: 登録時のフォームにおいて送信できる条件を修正 * テストを追加
* test(backend): APIテストの復活 (#10163)Kagami Sascha Rosylight2023-03-031-11/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Revert 1c5291f8185651c231903129ee7c1cee263f9f03 * APIテストの復活 * apiテストの移行 * moduleNameMapper修正 * simpleGetでthrowしないように status確認しているので要らない * longer timeout * ローカルでは問題ないのになんで * case sensitive * Run Nest instance within the current process * Skip some setIntervals * wait for 5 seconds * kill them all!! * logHeapUsage: true * detectOpenHandlesがじゃましているらしい * maxWorkers=1? * restore drive api tests * workerIdleMemoryLimit: 500MB * 1024MiB * Wait what
* enhance(e2e): more resilient version of `visit('/')` (#10128)Kagami Sascha Rosylight2023-03-012-8/+13
|
* fix(frontend): read KeyboardEvent.key instead of which/code (#10083)Kagami Sascha Rosylight2023-03-011-2/+15
|
* fix(backend): return HTTP 404 for any unknown api endpoint paths (#10130)Kagami Sascha Rosylight2023-02-271-0/+11
| | | | | * fix(backend): return HTTP 400 for any invalid api endpoint paths * 404
* Fix widget tests (#9591)Masaya Suzuki2023-01-151-1/+1
|
* Fix widget test (#9565)Masaya Suzuki2023-01-151-1/+1
|
* E2Eテスト "first widget should be removed" 修正 (#9556)Masaya Suzuki2023-01-141-2/+2
| | | | | | | * Fix e2e test "first widget should be removed" * E2Eテスト用クラス追加 * empty commit
* fix(cypress): pass `{}` as a parameter for `/api/reset-db` (#9355)Kagami Sascha Rosylight2022-12-191-1/+1
|
* update cypresssyuilo2022-06-113-0/+0
|
* Extract commonly used test logic to commands (#8767)Andreas Nedbal2022-05-313-76/+44
| | | | | | | | | * meta(tests): enable workflows to run in branch * feat(tests): move commonly used logic to Cypress commands * chore(tests): replace more code with commands * meta(tests): disable workflows to run in branch
* feat(tests): add e2e tests for widgets (#8735)Andreas Nedbal2022-05-281-0/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * test(e2e): add baseline for widget tests * chore(repo): enable test running in branch * fix(e2e): set viewport for widget tests * fix(client): add widget identifier classes to widgets * test(e2e): add memo widget test * fix(tests): force select value * fix(tests): force button press for widget addition * fix(tests): invoke select value differently * fix(tests): adjust widget submit * fix(tests): don't explicitly navigate for widget test * fix(tests): click label to hide select popup * fix(tests): just click modal background * fix(tests): adjust modal background selector * fix(tests): click all modal backgrounds * feat(e2e): add test for adding timeline widget * fix(client): add more widget identifier classes * feat(tests): add method abstraction for test cases * fix(tests): force-click overlays * fix(tests): force widget button press * fix(tests): remove timeout from final widget check * feat(tests): add widget removal test case * fix(client): use mk instead of msky as class prefix * fix(tests): check widgets for existence rather than visibility * chore(meta): don't run tests for specific feature branch
* test: e2eテストがCIで失敗していた問題をいくつか修正 (#8642)iwata2022-05-141-3/+13
| | | | | | | * test: indexeddbをテスト毎に初期化するように * fix: metaが無いときにfetch-metaを同時に呼ぶと死ぬことがある問題を修正 * test: ログイン後のクライアント側処理を待たずにリロードされてログイン出来ないことがあったのを修正
* add todosyuilo2022-01-291-0/+4
|
* enhance: e2eテストをできるだけ改良してみた (#8159)tamaina2022-01-212-31/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * update docker image? * 続 * serial run delete from "${table}" cascade * use cypress official github action * refuse install by cypress action * clean up * use wait? * use more wait? * Revert "use more wait?" This reverts commit 18d0fcae9c7d8f98a4cafb4a846a031ece57350c. * Revert "use wait?" This reverts commit 5aa8feec9cdc3e2f79e566249f0a0eff6c0df6a0. * fix * test * test * log? * 握りつぶしてみる * clean up * env? * clean up? * disable video * add comment * remove test * 成功? * test browser * nodeインストール無効化 * node16.13.0-chrome95-ff94 * node.js復活 * ? * ちょっと戻してみる * chrome? * cross browser test2 * --shm-size=2g * artifact? * misskey.local? * firefoxはあきらめる * not headless? * oops * fix * ?? * test1 * if? * fail-fast: false * headless: false * easy error ignoreing describe * エラーの解消 とちょっとリファクター * add browser name to artifact * Install mplayer for FireFox * no wait? * タイムアウトを甘くしてみる * firefoxをあきらめる(n回目) * remove timeout setting * wait復活 * Update basic.js * Update index.js Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* fix(test): ignore ResizeObserver errorsyuilo2021-12-291-0/+6
|
* fix e2e testsyuilo2021-10-281-1/+2
|
* test: improve e2e testsyuilo2021-09-191-65/+103
|
* refactorsyuilo2021-09-191-7/+9
|
* feat: 凍結された場合のダイアログを実装 (#7811)syuilo2021-09-191-28/+108
| | | | | | | | | | | | | * feat: 凍結された場合のダイアログを実装 * Update CHANGELOG.md * Update basic.js * improve error handling * cypressなんもわからん * Update basic.js
* Introduce e2e testsyuilo2021-08-125-0/+141