mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
Bug 730422 - test_contextMenu.js errors out on all platforms except Linux/Linux64. r=jmaher
This commit is contained in:
parent
8acfe5e119
commit
b3cc90d0c1
@ -83,11 +83,11 @@ pep.performAction('content_scroll', function() {
|
||||
});
|
||||
|
||||
// Now test context menus in chrome
|
||||
let bar = findElement.ID(c.window.document, "appmenu-toolbar-button");
|
||||
let bar = findElement.ID(c.window.document, "toolbar-menubar");
|
||||
bar.click();
|
||||
pep.performAction('chrome_menu', function() {
|
||||
pep.performAction('chrome_navigation', function() {
|
||||
bar.rightClick();
|
||||
bar.keypress('m');
|
||||
bar.keypress('n');
|
||||
});
|
||||
|
||||
pep.performAction('chrome_addon', function() {
|
||||
@ -98,9 +98,8 @@ pep.performAction('chrome_addon', function() {
|
||||
pep.performAction('chrome_scroll', function() {
|
||||
bar.rightClick();
|
||||
for (let i = 0; i < 15; ++i) {
|
||||
page.keypress('VK_DOWN');
|
||||
bar.keypress('VK_DOWN');
|
||||
// Sleep to better emulate a user
|
||||
c.sleep(10);
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user