feat: 🚀 Created features for notifications and signin and stubbed them for automation.
This commit is contained in:
27
cypress/integration/notification/notification.js
Normal file
27
cypress/integration/notification/notification.js
Normal 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");
|
||||
|
||||
});
|
Reference in New Issue
Block a user