diff options
| author | tamaina <tamaina@hotmail.co.jp> | 2022-01-21 16:43:56 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-21 16:43:56 +0900 |
| commit | e1d69e236fba90279f2931502eeaecbae8d23703 (patch) | |
| tree | c0940f583f784f34137ff5e8f2bca766d2a50905 /cypress/support | |
| parent | enhance: Forward report (#8001) (diff) | |
| download | sharkey-e1d69e236fba90279f2931502eeaecbae8d23703.tar.gz sharkey-e1d69e236fba90279f2931502eeaecbae8d23703.tar.bz2 sharkey-e1d69e236fba90279f2931502eeaecbae8d23703.zip | |
enhance: e2eテストをできるだけ改良してみた (#8159)
* 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>
Diffstat (limited to 'cypress/support')
| -rw-r--r-- | cypress/support/index.js | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/cypress/support/index.js b/cypress/support/index.js index a9ac34476d..9185be344c 100644 --- a/cypress/support/index.js +++ b/cypress/support/index.js @@ -20,7 +20,13 @@ import './commands' // require('./commands') Cypress.on('uncaught:exception', (err, runnable) => { - if (err.message.includes('ResizeObserver loop limit exceeded')) { - return false - } + if ([ + // Chrome + 'ResizeObserver loop limit exceeded', + + // Firefox + 'ResizeObserver loop completed with undelivered notifications', + ].some(msg => err.message.includes(msg))) { + return false; + } }); |