Skip to content

Commit 3265ab3

Browse files
committed
test(robot): add Playwright e2e comparison test
End-to-end test exercising app launcher, form, modal, and record verification via SalesforcePlaywright keywords.
1 parent 8733663 commit 3265ab3

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
*** Settings ***
2+
Resource cumulusci/robotframework/SalesforcePlaywright.robot
3+
4+
Suite Setup Open test browser
5+
Suite Teardown Delete records and close browser
6+
7+
Force Tags playwright
8+
9+
*** Test Cases ***
10+
Create contact via app launcher and verify
11+
[Documentation]
12+
... End-to-end test exercising app launcher navigation, form population,
13+
... modal handling, and record verification via SalesforcePlaywright keywords.
14+
... This test is part of the Robot Framework maintenance comparison PoC.
15+
16+
Open app launcher
17+
Select app launcher app Sales
18+
Wait until loading is complete
19+
20+
Click css:.slds-page-header button[name='New']
21+
Wait until modal is open
22+
23+
Populate form
24+
... First Name=Test
25+
... Last Name=RobotPlaywright
26+
27+
Click modal button Save
28+
Wait until modal is closed
29+
Wait until loading is complete
30+
31+
${record_id}= Get current record id
32+
Should not be empty ${record_id}

0 commit comments

Comments
 (0)