feat: 🚀 Created features for notifications and signin and stubbed them for automation.

This commit is contained in:
Simon Priet
2021-09-06 10:44:44 +02:00
parent e00a147b5c
commit 1253e2388a
4 changed files with 64 additions and 1 deletions

View File

@@ -0,0 +1,27 @@
/* global Given, When, Then */
import { Given, When, Then, And } from "cypress-cucumber-preprocessor/steps";
describe("Receive a text notification", () => {
Given("I am connected", () => {
cy.log("");
});
When("a Trusker send a post", ()=> {
cy.log("");
});
Then("I receive a text message", ()=>{
cy.expect(true).to.eq(true);
});
});
describe("Open the post from the text", ()=> {
Given("I am connected");
And("I received a text message");
When("I open the link in the message");
Then("the app opens");
And("the app shows me the message");
});