Flow Setup Test steps and checks See Click on Registered Click on Enter 5. Change See Menu change See toast Enter See create Hamburger Device and Change incorrect Pin List passcode notification correct pin pin screen side menu Logged in Passcode pin screen Key Maps to Risk board Data to set up before/ during test
Flow Setup Test steps and checks See Click on Registered Click on Enter 5. Change See Menu change See toast Enter See create Hamburger Device and Change incorrect Pin List passcode notification correct pin pin screen side menu Logged in Passcode pin screen Key Data to set Maps to up before/ Risk board during test User action
Flow Setup Test steps and checks See Click on Registered Click on Enter 5. Change See Menu change See toast Enter See create Hamburger Device and Change incorrect Pin List passcode notification correct pin pin screen side menu Logged in Passcode pin screen Key Data to set Maps to up before/ Risk board during Check/ test Success User action indicator
Example Here’s one I prepared earlier
Continue creating tests
Flow Setup Test steps and checks See Click on Registered Click on Enter 5. Change See Menu change See toast Enter See create Hamburger Device and Change incorrect Pin List passcode notification correct pin pin screen side menu Logged in Passcode pin screen
Flow Setup Test steps and checks Test 1 See Click on Registered Click on Enter 5. Change See Menu change See toast Enter See create Hamburger Device and Change incorrect Pin List passcode notification correct pin pin screen side menu Logged in Passcode pin screen
Flow Setup Test steps and checks See Click on Registered Click on Enter 5. Change See Menu change See toast Enter See create Hamburger Device and Change incorrect Pin List passcode notification correct pin pin screen side menu Logged in Passcode pin screen Test 2 Registered User Smooth Click on 3. View Device and See list scrolls scrolling is Transactions balance Logged in down observed
Flow Setup Test steps and checks See Click on Registered Click on Enter 5. Change See Menu change See toast Enter See create Hamburger Device and Change incorrect Pin List passcode notification correct pin pin screen side menu Logged in Passcode pin screen Registered User Smooth Click on 3. View Device and See list scrolls scrolling is Transactions balance Logged in down observed Test 3 Click on Registered See Menu Click on See log in Hamburger 10. Logout Device and List Logout screen side menu Logged in
Example Here’s one I prepared earlier
Combine similar tests
Flow Setup Test steps and checks See Click on Registered Click on Enter 5. Change See Menu change See toast Enter See create Hamburger Device and Change incorrect Pin List passcode notification correct pin pin screen side menu Logged in Passcode pin screen Registered User Smooth Click on 3. View Device and See list scrolls scrolling is Transactions balance Logged in down observed Click on Registered See Menu Click on See log in Hamburger 10. Logout Device and List Logout screen side menu Logged in
Flow Setup Test steps and checks See Click on Registered Click on Enter 5. Change See Menu change See toast Enter See create Hamburger Device and Change incorrect Pin List passcode notification correct pin pin screen side menu Logged in Passcode pin screen Same Registered User Smooth Click on 3. View Device and See list scrolls scrolling is Transactions balance data Logged in down observed Click on Registered See Menu Click on See log in Hamburger 10. Logout Device and List Logout screen side menu Logged in
Flow Setup Test steps and checks See Click on Registered Click on Enter 5. Change See Menu change See toast Enter See create Hamburger Device and Change incorrect Pin List passcode notification correct pin pin screen side menu Logged in Passcode pin screen Registered User Smooth Click on 3. View Device and See list scrolls scrolling is Transactions balance Logged in down observed Click on Registered See Menu Click on See log in Hamburger 10. Logout Device and List Logout screen side menu Logged in
Setup Test steps and checks Flow See Click on Registered Click on Enter 5. Change See Menu change See toast Enter See create 3. View Hamburger Device and Change incorrect Transactions Pin List passcode notification correct pin pin screen side menu Logged in Passcode pin screen Click on User Smooth Click on See Menu Click on See log in Hamburger See list scrolls scrolling is 10. Logout balance List Logout screen side menu down observed
Setup Test steps and checks Flow Test 1 See Click on Registered Click on Enter 5. Change See Menu change See toast Enter See create 3. View Hamburger Device and Change incorrect Transactions Pin List passcode notification correct pin pin screen side menu Logged in Passcode pin screen Click on User Smooth Click on See Menu Click on See log in Hamburger See list scrolls scrolling is 10. Logout balance List Logout screen side menu down observed
Flow Setup Test steps and checks See Click on Registered Click on Enter 5. Change See Menu change See toast Enter See create 3. View Hamburger Device and Change incorrect Transactions Pin List passcode notification correct pin pin screen side menu Logged in Passcode pin screen Test 2 Click on User Smooth Click on See Menu Click on See log in Hamburger See list scrolls scrolling is 10. Logout balance List Logout screen side menu down observed
Flow Setup Test steps and checks See Click on Registered Click on Enter 5. Change See Menu change See toast Enter See create 3. View Hamburger Device and Change incorrect Transactions Pin List passcode notification correct pin pin screen side menu Logged in Passcode pin screen Test 3 Click on User Smooth Click on See Menu Click on See log in Hamburger See list scrolls scrolling is 10. Logout balance List Logout screen side menu down observed
Flow Setup Test steps and checks See Click on Registered Click on Enter 5. Change See Menu change See toast Enter See create 3. View Hamburger Device and Change incorrect Transactions Pin List passcode notification correct pin pin screen side menu Logged in Passcode pin screen Click on User Smooth Click on See Menu Click on See log in Hamburger See list scrolls scrolling is 10. Logout balance List Logout screen side menu down observed Onboarding
Example Here’s our 35 fl ows covered by 5 UI tests
Create UI tests
Create UI tests - refactor let app = XCUIApplication() clickOnHamburglarMenu() clickChangePasscode() enterPin(1234) expect(incorrectPinToast.isDisplayed()).to(beTrue()) enterPin(4321) enterPin(4321) expect(changePinToast.isDisplayed()).to(beTrue())
Accessibility inspector
Summary Tests that are risk based are compelling
Break app into fl ows Map fl ows onto a risk board Break fl ows into tests Create tests Maintain tests
Break app into fl ows Map fl ows onto a risk board Break fl ows into tests Create tests Maintain tests
Break app into fl ows Map fl ows onto a risk board Break fl ows into tests Create tests Maintain tests
Break app into fl ows Map fl ows onto a risk board Break fl ows into tests Create tests Maintain tests
Recommend
More recommend