-
Notifications
You must be signed in to change notification settings - Fork 245
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2243 from SFDO-Tooling/feature/robot_spring-21
Feature/robot spring 21
- Loading branch information
Showing
8 changed files
with
278 additions
and
270 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
from cumulusci.robotframework import locators_50 | ||
import copy | ||
|
||
lex_locators = copy.deepcopy(locators_50.lex_locators) | ||
|
||
lex_locators["modal"][ | ||
"button" | ||
] = "//div[contains(@class,'uiModal')]//force-form-footer//button[.='{}']" | ||
|
||
lex_locators["modal"]["has_error"] = "css: div.forceFormPageError" | ||
|
||
lex_locators["modal"][ | ||
"review_alert" | ||
] = '//a[@force-recordediterror_recordediterror and text()="{}"]' | ||
|
||
lex_locators["modal"]["field_alert"] = "//div[contains(@class, 'forceFormPageError')]" | ||
|
||
# I like the new markup I'm seeing in Spring '21! | ||
lex_locators["object"]["field"] = "//lightning-input[.//label[text()='{}']]//input" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.