Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Sharkey
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dima Krasner
Sharkey
Commits
63c43969
Unverified
Commit
63c43969
authored
1 year ago
by
まっちゃとーにゅ
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
ci(test-frontend): Cypressのテストの失敗時、永遠に止まらない問題を回避 (MisskeyIO#434) (#13274)
失敗しないようタイムアウトの延長・15分で止まるように
parent
b95e2500
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.github/workflows/test-frontend.yml
+1
-0
1 addition, 0 deletions
.github/workflows/test-frontend.yml
cypress/e2e/basic.cy.js
+3
-3
3 additions, 3 deletions
cypress/e2e/basic.cy.js
cypress/e2e/router.cy.js
+1
-1
1 addition, 1 deletion
cypress/e2e/router.cy.js
with
5 additions
and
4 deletions
.github/workflows/test-frontend.yml
+
1
−
0
View file @
63c43969
...
...
@@ -115,6 +115,7 @@ jobs:
run
:
pnpm exec cypress install
-
name
:
Cypress run
uses
:
cypress-io/github-action@v6
timeout-minutes
:
15
with
:
install
:
false
start
:
pnpm start:test
...
...
This diff is collapsed.
Click to expand it.
cypress/e2e/basic.cy.js
+
3
−
3
View file @
63c43969
...
...
@@ -162,12 +162,12 @@ describe('After user signed in', () => {
it
(
'
successfully loads
'
,
()
=>
{
// 表示に時間がかかるのでデフォルト秒数だとタイムアウトする
cy
.
get
(
'
[data-cy-user-setup-continue]
'
,
{
timeout
:
12
000
}).
should
(
'
be.visible
'
);
cy
.
get
(
'
[data-cy-user-setup-continue]
'
,
{
timeout
:
30
000
}).
should
(
'
be.visible
'
);
});
it
(
'
account setup wizard
'
,
()
=>
{
// 表示に時間がかかるのでデフォルト秒数だとタイムアウトする
cy
.
get
(
'
[data-cy-user-setup-continue]
'
,
{
timeout
:
12
000
}).
click
();
cy
.
get
(
'
[data-cy-user-setup-continue]
'
,
{
timeout
:
30
000
}).
click
();
cy
.
get
(
'
[data-cy-user-setup-user-name] input
'
).
type
(
'
ありす
'
);
cy
.
get
(
'
[data-cy-user-setup-user-description] textarea
'
).
type
(
'
ほげ
'
);
...
...
@@ -205,7 +205,7 @@ describe('After user setup', () => {
// アカウント初期設定ウィザード
// 表示に時間がかかるのでデフォルト秒数だとタイムアウトする
cy
.
get
(
'
[data-cy-user-setup] [data-cy-modal-window-close]
'
,
{
timeout
:
12
000
}).
click
();
cy
.
get
(
'
[data-cy-user-setup] [data-cy-modal-window-close]
'
,
{
timeout
:
30
000
}).
click
();
cy
.
get
(
'
[data-cy-modal-dialog-ok]
'
).
click
();
});
...
...
This diff is collapsed.
Click to expand it.
cypress/e2e/router.cy.js
+
1
−
1
View file @
63c43969
...
...
@@ -14,7 +14,7 @@ describe('Router transition', () => {
// アカウント初期設定ウィザード
// 表示に時間がかかるのでデフォルト秒数だとタイムアウトする
cy
.
get
(
'
[data-cy-user-setup] [data-cy-modal-window-close]
'
,
{
timeout
:
12
000
}).
click
();
cy
.
get
(
'
[data-cy-user-setup] [data-cy-modal-window-close]
'
,
{
timeout
:
30
000
}).
click
();
cy
.
wait
(
500
);
cy
.
get
(
'
[data-cy-modal-dialog-ok]
'
).
click
();
});
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment