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
d1ae67b2
Commit
d1ae67b2
authored
6 years ago
by
Ray Schamp
Browse files
Options
Downloads
Patches
Plain Diff
Update search placeholder string for tests
parent
1e2de854
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
test/integration/costumes.test.js
+2
-2
2 additions, 2 deletions
test/integration/costumes.test.js
test/integration/sounds.test.js
+2
-2
2 additions, 2 deletions
test/integration/sounds.test.js
with
4 additions
and
4 deletions
test/integration/costumes.test.js
+
2
−
2
View file @
d1ae67b2
...
...
@@ -30,7 +30,7 @@ describe('Working with costumes', () => {
await
clickXpath
(
'
//button[@title="tryit"]
'
);
await
clickText
(
'
Costumes
'
);
await
clickXpath
(
'
//button[@aria-label="Choose a Costume"]
'
);
const
el
=
await
findByXpath
(
"
//input[@placeholder='
what are you looking for?
']
"
);
const
el
=
await
findByXpath
(
"
//input[@placeholder='
Search
']
"
);
await
el
.
sendKeys
(
'
abb
'
);
await
clickText
(
'
Abby-a
'
);
// Should close the modal, then click the costumes in the selector
await
findByXpath
(
"
//input[@value='Abby-a']
"
);
// Should show editor for new costume
...
...
@@ -58,7 +58,7 @@ describe('Working with costumes', () => {
await
loadUri
(
uri
);
await
clickXpath
(
'
//button[@title="tryit"]
'
);
await
clickXpath
(
'
//button[@aria-label="Choose a Backdrop"]
'
);
const
el
=
await
findByXpath
(
"
//input[@placeholder='
what are you looking for?
']
"
);
const
el
=
await
findByXpath
(
"
//input[@placeholder='
Search
']
"
);
await
el
.
sendKeys
(
'
blue
'
);
await
clickText
(
'
Blue Sky
'
);
// Should close the modal
const
logs
=
await
getLogs
();
...
...
This diff is collapsed.
Click to expand it.
test/integration/sounds.test.js
+
2
−
2
View file @
d1ae67b2
...
...
@@ -38,13 +38,13 @@ describe('Working with sounds', () => {
// Add it back
await
clickXpath
(
'
//button[@aria-label="Choose a Sound"]
'
);
let
el
=
await
findByXpath
(
"
//input[@placeholder='
what are you looking for?
']
"
);
let
el
=
await
findByXpath
(
"
//input[@placeholder='
Search
']
"
);
await
el
.
sendKeys
(
'
meow
'
);
await
clickText
(
'
Meow
'
,
scope
.
modal
);
// Should close the modal
// Add a new sound
await
clickXpath
(
'
//button[@aria-label="Choose a Sound"]
'
);
el
=
await
findByXpath
(
"
//input[@placeholder='
what are you looking for?
']
"
);
el
=
await
findByXpath
(
"
//input[@placeholder='
Search
']
"
);
await
el
.
sendKeys
(
'
chom
'
);
await
clickText
(
'
Chomp
'
);
// Should close the modal, then click the sounds in the selector
await
findByXpath
(
"
//input[@value='Chomp']
"
);
// Should show editor for new sound
...
...
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