mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 866619 - Part 2: Fix marionette tests for voice registration state. r=allstars.chh
This commit is contained in:
parent
547f37bb12
commit
204fd81eaa
@ -84,13 +84,8 @@ function testOff() {
|
||||
function testSearching() {
|
||||
log("Test 4: Searching.");
|
||||
// Set emulator data state to 'searching' and verify
|
||||
|
||||
// Bug 819533: WebMobileConnection data/voice state incorrect when emulator
|
||||
// data state is 'searching'. So until fixed, expect 'registered'.
|
||||
|
||||
// changeDataStateAndVerify("searching", "searching", testDenied);
|
||||
log("* When Bug 819533 is fixed, change this test to expect 'searching' *");
|
||||
changeDataStateAndVerify("searching", "registered", testDenied);
|
||||
// Expect mobileConnection.data.state to be 'searching'
|
||||
changeDataStateAndVerify("searching", "searching", testDenied);
|
||||
}
|
||||
|
||||
function testDenied() {
|
||||
|
@ -84,11 +84,6 @@ function testUnregistered() {
|
||||
}
|
||||
|
||||
function testSearching() {
|
||||
// For some reason, requesting the "searching" state puts the fake modem
|
||||
// into "registered"... Skipping this test for now.
|
||||
testDenied();
|
||||
return;
|
||||
|
||||
setEmulatorVoiceState("searching");
|
||||
|
||||
connection.addEventListener("voicechange", function onvoicechange() {
|
||||
|
Loading…
Reference in New Issue
Block a user