Horje
How does the FEATURE FILE WORK? Code Example
How does the FEATURE FILE WORK?
* 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




Whatever

Related
guldkedja 18k Code Example guldkedja 18k Code Example
commitizen friendly Code Example commitizen friendly Code Example
ionic grid no margin Code Example ionic grid no margin Code Example
go backtick string Code Example go backtick string Code Example
Creating Public Key Code Example Creating Public Key Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7