From 164df521c16f9fe8686b42ea660382b1b54f0188 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Klinkovsk=C3=BD?= Date: Wed, 16 Mar 2016 20:59:46 +0100 Subject: [PATCH] hints: add verifications for iframe tests --- tests/integration/features/hints.feature | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/integration/features/hints.feature b/tests/integration/features/hints.feature index 13346aa37..8b58ad3f9 100644 --- a/tests/integration/features/hints.feature +++ b/tests/integration/features/hints.feature @@ -12,16 +12,14 @@ Feature: Using hints ### iframes - @xfail Scenario: Using :follow-hint inside an iframe When I open data/hints/iframe.html And I run :hint all normal And I run :follow-hint a And I run :hint links normal And I run :follow-hint a - Then data/hello.txt should be loaded + Then "acceptNavigationRequest, url http://localhost:*/data/hello.txt, type NavigationTypeLinkClicked, *" should be logged - @xfail Scenario: Using :follow-hint inside a scrolled iframe When I open data/hints/iframe_scroll.html And I run :hint all normal @@ -29,4 +27,4 @@ Feature: Using hints And I run :scroll bottom And I run :hint links normal And I run :follow-hint a - Then data/hello2.txt should be loaded + Then "acceptNavigationRequest, url http://localhost:*/data/hello2.txt, type NavigationTypeLinkClicked, *" should be logged