📅  最后修改于: 2022-03-11 14:57:50.402000             🧑  作者: Mango
* Feature → description of what is being tested @tags. Sample feature file;
â Feature: login functionality → Background:
â Given I am on the login page → Scenario: 1, Scenario: 2
â The background runs before both of the scenarios
â Scenario → description of the scenario being test
â Given I am on the login page
â And I enter username and password
â When I click on the submit button
â Then I should be able to see the profile picture
â But the submit button should not be displayed
â Given → a precondition
â When → condition that triggers the expected result Then —> expected condition