Skip to content

Commit a9523fa

Browse files
prestoalvarezAniket-Engg
authored andcommitted
Update quickDapp.test.ts
1 parent dc85e4e commit a9523fa

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

apps/remix-ide-e2e/src/tests/quickDapp.test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ const tests = {
9090
.setValue('input[data-id="surgePassword"]', surgePassword)
9191
.setValue('input[data-id="surgeSubdomain"]', surgeSubdomain)
9292
.setValue('input[data-id="functionTitle0x6057361d"]', 'Function Store Title')
93-
.setValue('input[data-id="functionTitle0x2e64cec1"]', 'Function Retrive Title')
93+
.setValue('input[data-id="functionTitle0x2e64cec1"]', 'Function Retrieve Title')
9494
.execute((function() {
9595
document.querySelector('input[data-id="uploadLogo"]').classList.remove('d-none');
9696
}))
@@ -176,7 +176,7 @@ const tests = {
176176
})
177177
})
178178
.assert.containsText('*[data-id="functionTitle0x6057361d"]', 'Function Store Title')
179-
.assert.containsText('*[data-id="functionTitle0x2e64cec1"]', 'Function Retrive Title')
179+
.assert.containsText('*[data-id="functionTitle0x2e64cec1"]', 'Function Retrieve Title')
180180
.assert.containsText('*[data-id="dappTitle"]', 'Storage')
181181
.assert.containsText('*[data-id="dappInstructions"]', 'Store & retrieve value in a variable')
182182
.assert.elementPresent('.fa-twitter.btn', 'Twitter icon should be present')
@@ -191,9 +191,9 @@ const tests = {
191191
.getLocation('*[data-id="function0x6057361d"]', function (result: any) {
192192
const funcStoreLocation = result.value
193193
browser.getLocation('*[data-id="function0x2e64cec1"]', function (result: any) {
194-
const funcRetriveLocation = result.value
195-
browser.assert.strictEqual(funcStoreLocation.y, funcRetriveLocation.y, 'Both functions should be on the same horizontal line')
196-
browser.assert.ok(funcStoreLocation.x > funcRetriveLocation.x, 'Function Store should be on the right of Function Retrive')
194+
const funcRetrieveLocation = result.value
195+
browser.assert.strictEqual(funcStoreLocation.y, funcRetrieveLocation.y, 'Both functions should be on the same horizontal line')
196+
browser.assert.ok(funcStoreLocation.x > funcRetrieveLocation.x, 'Function Store should be on the right of Function Retrieve')
197197
})
198198
})
199199
.getAttribute('a[data-id="viewSourceCode"]', 'href', function (result) {

0 commit comments

Comments
 (0)