Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
logging-scratch-gui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package 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
David Goessmann
logging-scratch-gui
Commits
e98cdb4e
Commit
e98cdb4e
authored
7 years ago
by
Paul Kaplan
Browse files
Options
Downloads
Patches
Plain Diff
Fix tests that relied on button text
parent
07a5afd7
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
test/integration/costumes.test.js
+1
-1
1 addition, 1 deletion
test/integration/costumes.test.js
test/integration/localization.test.js
+1
-1
1 addition, 1 deletion
test/integration/localization.test.js
test/integration/sounds.test.js
+1
-1
1 addition, 1 deletion
test/integration/sounds.test.js
with
3 additions
and
3 deletions
test/integration/costumes.test.js
+
1
−
1
View file @
e98cdb4e
...
...
@@ -39,7 +39,7 @@ describe('Working with costumes', () => {
test
(
'
Adding a backdrop
'
,
async
()
=>
{
await
loadUri
(
uri
);
await
clickXpath
(
'
//button[@title="tryit"]
'
);
await
click
Text
(
'
Add Backdrop
'
);
await
click
Xpath
(
'
//button[@title="
Add Backdrop
"]
'
);
const
el
=
await
findByXpath
(
"
//input[@placeholder='what are you looking for?']
"
);
await
el
.
sendKeys
(
'
blue
'
);
await
clickText
(
'
Blue Sky
'
);
// Should close the modal
...
...
This diff is collapsed.
Click to expand it.
test/integration/localization.test.js
+
1
−
1
View file @
e98cdb4e
...
...
@@ -30,7 +30,7 @@ describe('Localization', () => {
await
loadUri
(
uri
);
await
clickXpath
(
'
//button[@title="tryit"]
'
);
await
clickText
(
'
Blocks
'
);
await
click
Text
(
'
Extension
s
'
);
await
click
Xpath
(
'
//button[@title="Add
Extension
"]
'
);
await
clickText
(
'
Pen
'
,
scope
.
modal
);
// Modal closes
await
new
Promise
(
resolve
=>
setTimeout
(
resolve
,
1000
));
// Wait for scroll animation
await
clickText
(
'
English
'
);
...
...
This diff is collapsed.
Click to expand it.
test/integration/sounds.test.js
+
1
−
1
View file @
e98cdb4e
...
...
@@ -74,7 +74,7 @@ describe('Working with sounds', () => {
await
clickText
(
'
A Bass
'
);
// Closes the modal
// Now add a sprite with only one sound.
await
click
Text
(
'
Add Sprite
'
);
await
click
Xpath
(
'
//button[@title="
Add Sprite
"]
'
);
await
clickText
(
'
Abby
'
);
// Doing this used to crash the editor.
await
new
Promise
(
resolve
=>
setTimeout
(
resolve
,
1000
));
// Wait for error
...
...
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