GitLab wurde aktualisiert. Dank regelmäßiger Updates bleibt das THM GitLab sicher und Sie profitieren von den neuesten Funktionen. Vielen Dank für Ihre Geduld.

Commit fc6ff78b authored by Curtis Adam's avatar Curtis Adam
Browse files

Revert "View for Filter in Pool"

This reverts commit b4cc66404b60abc824de2dc88b46d9a145558a66
parent 5d7bf7a9
Feature:Good Position
As a visitor to the site,
I want to go on Pool
So that i can choose a Filter
Background:
Given I am on the site Filter
Scenario: User uses Filter
When I'm click on Pool
And choose a Filter
Then I should see the Filter in order
import {login, logout} from "../helper_functions";
module.exports = function () {
'use strict';
this.Given(/^User is on the site$/, function () {
// Write code here that turns the phrase above into concrete actions
browser.url('http://localhost:3000');
});
this.Given(/^User is logged in$/, function () {
// Write code here that turns the phrase above into concrete actions
login("testuser");
});
this.Given(/^User is on the Filter view$/, function () {
browser.waitForVisible('#cardsets',5000);
browser.click('#cardsets');
browser.waitForVisible("a[href='/cardset/2P6mg5iqCZ49QPPDz']",5000);
browser.click("a[href='/cardset/2P6mg5iqCZ49QPPDz']");
browser.waitForExist('.cardsetInfo', 5000);
});
this.When(/^User click on Pool$/, function () {
browser.waitForVisible('#btnToListLayout',5000);
browser.click('#btnToListLayout');
});
this.Then(/^User choose a Filter$/, function () {
browser.waitForExist('#cardset-list', 5000);
});
this.Then(/^User should see Filter in Order$/, function () {
browser.waitForExist('.cardsetInfo', 5000);
});
this.Then(/^User log out$/, function () {
logout();
});
};
// tests/features/Filterversetzt_steps.js
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment