diff --git a/cypress/constants/terms-and-conditions-version.js b/cypress/constants/terms-and-conditions-version.js deleted file mode 100644 index 7b2a8fb5d..000000000 --- a/cypress/constants/terms-and-conditions-version.js +++ /dev/null @@ -1,2 +0,0 @@ -// please change also version in file "webapp/constants/terms-and-conditions-version.js" -export const VERSION = '0.0.4' \ No newline at end of file diff --git a/cypress/integration/Authentication.feature b/cypress/integration/Authentication.feature index 50bb8e938..86439d332 100644 --- a/cypress/integration/Authentication.feature +++ b/cypress/integration/Authentication.feature @@ -2,6 +2,7 @@ Feature: Authentication As an user I want to sign in In order to be able to posts and do other contributions as myself + Furthermore I want to be able to stay logged in and logout again Background: Given I have an user account diff --git a/cypress/integration/common/.steps.js b/cypress/integration/common/.steps.js index a54d54afa..0ca6ff438 100644 --- a/cypress/integration/common/.steps.js +++ b/cypress/integration/common/.steps.js @@ -4,7 +4,6 @@ import { Then } from "cypress-cucumber-preprocessor/steps"; import helpers from "../../support/helpers"; -import { VERSION } from '../../constants/terms-and-conditions-version.js' import locales from '../../../webapp/locales' import orderBy from 'lodash/orderBy' @@ -13,10 +12,6 @@ import orderBy from 'lodash/orderBy' const languages = orderBy(locales, 'name') let lastPost = {}; -const termsAndConditionsAgreedVersion = { - termsAndConditionsAgreedVersion: VERSION -}; - const annoyingParams = { email: "spammy-spammer@example.org", slug: 'spammy-spammer', diff --git a/cypress/integration/data/narrator.js b/cypress/integration/data/narrator.js index e9eaff3d0..7bf74099a 100644 --- a/cypress/integration/data/narrator.js +++ b/cypress/integration/data/narrator.js @@ -2,6 +2,7 @@ const narrator = { id: 'id-of-peter-pan', name: "Peter Pan", slug: "peter-pan", + termsAndConditionsAgreedVersion: '0.0.4', } export default narrator