This repository has been archived by the owner on Nov 3, 2021. It is now read-only.
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 #14378 from jammink/temp
bug 938061 - final - r=zac
- Loading branch information
Showing
3 changed files
with
28 additions
and
0 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
23 changes: 23 additions & 0 deletions
23
tests/python/gaia-ui-tests/gaiatest/tests/functional/system/test_quick_settings.py
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,23 @@ | ||
# -*- coding: iso-8859-15 -*- | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
|
||
from gaiatest import GaiaTestCase | ||
from gaiatest.apps.system.app import System | ||
|
||
|
||
class TestQuickSettingsButton(GaiaTestCase): | ||
|
||
def test_quick_settings_button(self): | ||
system = System(self.marionette) | ||
|
||
# Expand the utility tray | ||
utility_tray = system.open_utility_tray() | ||
utility_tray.wait_for_notification_container_displayed() | ||
|
||
#tap the settings button | ||
utility_tray.tap_settings_button() | ||
|
||
#wait for and assert that settings app is launched | ||
self.wait_for_condition(lambda m: self.apps.displayed_app.name == "Settings") |