From f7da0d0963f04a537a606c7bd76d29c2d6c15355 Mon Sep 17 00:00:00 2001 From: mfranzke Date: Tue, 23 Aug 2016 19:26:27 +0200 Subject: [PATCH] Update getStarted.html Updated the JavaScript code regarding one of the sample test cases on the most likely new HTML structure of amazon.com --- pages/getStarted.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/getStarted.html b/pages/getStarted.html index 40516cf..90149b6 100644 --- a/pages/getStarted.html +++ b/pages/getStarted.html @@ -144,9 +144,9 @@ test .open('http://www.amazon.com/') .type('#twotabsearchtextbox', 'Blues Brothers VHS') - .click('.nav-submit-input') + .click('.nav-search-submit input') .waitForElement('#result_0') - .assert.text('#result_0 .newaps a span').is('The Blues Brothers') + .assert.text('#result_0 .s-item-container a h2').is('The Blues Brothers') .done(); } };