Skip to content

Commit 1944cfa

Browse files
committed
Selenium fixes
1 parent 2beb3fa commit 1944cfa

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

t/selenium/Artist_Credit_Editor.json5

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
},
3030
{
3131
command: 'assertEval',
32-
target: "window.document.querySelectorAll('#artist-credit-editor input[type=hidden]').length",
32+
target: "window.document.querySelectorAll('.artist-credit-editor input[type=hidden]').length",
3333
value: '4',
3434
},
3535
{
@@ -64,7 +64,7 @@
6464
},
6565
{
6666
command: 'assertEval',
67-
target: "window.document.querySelectorAll('#artist-credit-editor input[type=hidden]').length",
67+
target: "window.document.querySelectorAll('.artist-credit-editor input[type=hidden]').length",
6868
value: '4',
6969
},
7070
{
@@ -114,7 +114,7 @@
114114
},
115115
{
116116
command: 'assertEval',
117-
target: "window.document.querySelectorAll('#artist-credit-editor input[type=hidden]').length",
117+
target: "window.document.querySelectorAll('.artist-credit-editor input[type=hidden]').length",
118118
value: '8',
119119
},
120120
{

t/selenium/MBS-11529.json5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
},
5959
{
6060
command: 'type',
61-
target: 'id=id-edit-recording.edit_note',
61+
target: 'name=edit-recording.edit_note',
6262
value: 'ok',
6363
},
6464
{
@@ -164,7 +164,7 @@
164164
},
165165
{
166166
command: 'type',
167-
target: 'id=id-edit-recording.edit_note',
167+
target: 'name=edit-recording.edit_note',
168168
value: 'ok',
169169
},
170170
{

t/selenium/MBS-12904.json5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
},
7373
{
7474
command: 'type',
75-
target: 'id=id-edit-recording.edit_note',
75+
target: 'name=edit-recording.edit_note',
7676
value: 'ok',
7777
},
7878
{

t/selenium/Recording_Edit_Form.json5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
// submission of the relationship.
5656
{
5757
command: 'click',
58-
target: 'css=#artist-credit-editor button.open-ac',
58+
target: 'css=.artist-credit-editor button.open-ac',
5959
value: '',
6060
},
6161
{

0 commit comments

Comments
 (0)