File tree Expand file tree Collapse file tree 4 files changed +12
-10
lines changed Expand file tree Collapse file tree 4 files changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -1833,7 +1833,7 @@ Location: Any non-linked content space inside example.com page
18331833Path to .json: modules/data/exemple_page.components.json
18341834```
18351835```
1836- Selector Name: more-information
1836+ Selector Name: learn-more
18371837Selector Data: "Learn more"
18381838Description: "Learn more" link
18391839Location: The hyperlink positioned in the middle of example.com page
@@ -3238,7 +3238,7 @@ Path to .json: modules/data/panel_ui.components.json
32383238```
32393239```
32403240Selector name: panel-ui-history-recently-closed-reopen-tabs
3241- Selector Data: toolbarbutton[class='subviewbutton subviewbutton-nav'][label='Recently closed tabs ']
3241+ Selector Data: toolbarbutton[class='restoreallitem subviewbutton panel-subview-footer-button ']
32423242Description: Recently closed reopen tabs
32433243Location: On the hamburger menu > History
32443244Path to .json: modules/data/panel_ui.components.json
Original file line number Diff line number Diff line change 1414 ]
1515 },
1616
17- "more-information " : {
17+ "learn-more " : {
1818 "selectorData" : " Learn more" ,
1919 "strategy" : " link_text" ,
2020 "groups" : []
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ def test_open_link_in_new_window(driver: Firefox):
2020 example .open ()
2121
2222 # Right-click the hyperlink
23- example .context_click ("more-information " )
23+ example .context_click ("learn-more " )
2424
2525 # Click on the open in new window option
2626 hyperlink_context .click_and_hide_menu ("context-menu-open-link-in-new-window" )
Original file line number Diff line number Diff line change @@ -93,27 +93,29 @@ def test_copy_link(driver: Firefox):
9393 nav = Navigation (driver )
9494 hyperlink_context = ContextMenu (driver )
9595 tabs = TabBar (driver )
96- example = ExamplePage (driver ). open ()
96+ example = ExamplePage (driver )
9797
98- # right click the hyperlink
98+ example .open ()
99+
100+ # Right-click the hyperlink
99101 sleep (1 )
100102 example .context_click ("learn-more" )
101103
102- # click on the open in new window option
104+ # Click on the open in new window option
103105 sleep (1 )
104106 hyperlink_context .click_and_hide_menu ("context-menu-copy-link" )
105107
106- # open a new tab
108+ # Open a new tab
107109 tabs .new_tab_by_button ()
108110 tabs .wait_for_num_tabs (2 )
109111 sleep (1 )
110112 driver .switch_to .window (driver .window_handles [1 ])
111113
112- # # context click and paste
114+ # Context click and paste
113115 search_bar = nav .get_awesome_bar ()
114116 nav .context_click (search_bar )
115117
116- # paste and go
118+ # Paste and go
117119 nav .click_and_hide_menu ("context-menu-paste-and-go" )
118120
119121 example .title_contains (example .MORE_INFO_TITLE )
You can’t perform that action at this time.
0 commit comments