From cc9b7764768009a3176145c7db33ea8c968ad005 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 18 Aug 2016 15:38:14 +0200 Subject: [PATCH] tests: Use :click-element in editor.feature --- tests/end2end/data/editor.html | 2 +- tests/end2end/features/editor.feature | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/tests/end2end/data/editor.html b/tests/end2end/data/editor.html index 11f43463d..9f5f9c067 100644 --- a/tests/end2end/data/editor.html +++ b/tests/end2end/data/editor.html @@ -12,6 +12,6 @@ - + diff --git a/tests/end2end/features/editor.feature b/tests/end2end/features/editor.feature index 695ae5f93..aac8413e6 100644 --- a/tests/end2end/features/editor.feature +++ b/tests/end2end/features/editor.feature @@ -61,11 +61,9 @@ Feature: Opening external editors Scenario: Spawning an editor successfully When I set up a fake editor returning "foobar" And I open data/editor.html - And I run :hint all - And I run :follow-hint a + And I run :click-element id qute-textarea And I wait for "Clicked editable element!" in the log And I run :open-editor And I wait for "Read back: foobar" in the log - And I run :hint all - And I run :follow-hint s + And I run :click-element id qute-button Then the javascript message "text: foobar" should be logged