Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updating the tests for the subdomain apps

  • Loading branch information...
commit 4f95941749d07916538bbdc0b318c78afe1b7ba4 1 parent 2610dcb
Etienne Segonzac etiennesegonzac authored
2  tests/browser_a_test_framework.js
View
@@ -1,5 +1,5 @@
function generatorTest() {
- yield testApp('../dialer/dialer.html', function(window, document, nextStep) {
+ yield testApp('http://dialer.gaiamobile.org/', function(window, document, nextStep) {
ok(window.document === document, 'window and document are related');
ok(document.readyState === 'complete', 'document fully loaded');
ok(typeof nextStep === 'function', 'nextStep func is okay');
2  tests/browser_clock_stopwatch.js
View
@@ -1,6 +1,6 @@
function generatorTest() {
waitForExplicitFinish();
- yield testApp('../clock/clock.html', testStopwatch);
+ yield testApp('http://clock.gaiamobile.org/', testStopwatch);
finish();
}
2  tests/browser_clock_timer.js
View
@@ -1,6 +1,6 @@
function generatorTest() {
waitForExplicitFinish();
- yield testApp('../clock/clock.html', testTimer);
+ yield testApp('http://clock.gaiamobile.org/', testTimer);
finish();
}
2  tests/browser_dialer_call_from_contacts.js
View
@@ -9,7 +9,7 @@ function generatorTest() {
});
yield navigator.mozContacts.save(testContact).onsuccess = nextStep;
- yield testApp('../dialer/dialer.html', testCallFromContacts);
+ yield testApp('http://dialer.gaiamobile.org/', testCallFromContacts);
yield navigator.mozContacts.remove(testContact).onsuccess = nextStep;
}
4 tests/browser_dialer_contact_intent.js
View
@@ -8,7 +8,7 @@ function generatorTest() {
});
yield navigator.mozContacts.save(testContact).onsuccess = nextStep;
- yield testApp('../dialer/dialer.html', testContactIntent);
+ yield testApp('http://dialer.gaiamobile.org/', testContactIntent);
yield navigator.mozContacts.remove(testContact).onsuccess = nextStep;
}
@@ -19,7 +19,7 @@ function testContactIntent(window, document, nextStep) {
hidden: false
}
};
- window.visibilityChanged('../dialer/dialer.html?choice=contact', fakeEvt);
+ window.visibilityChanged('http://dialer.gaiamobile.org/index.html?choice=contact', fakeEvt);
ok(!document.getElementById('contacts-view').hidden,
'Contact view displayed');
2  tests/browser_dialer_contacts_edition.js
View
@@ -1,6 +1,6 @@
function generatorTest() {
// Launch the dialer app
- yield testApp('../dialer/dialer.html', testContactsEdition);
+ yield testApp('http://dialer.gaiamobile.org/', testContactsEdition);
}
function testContactsEdition(window, document, nextStep) {
2  tests/browser_dialer_contacts_search.js
View
@@ -11,7 +11,7 @@ function generatorTest() {
yield navigator.mozContacts.save(testContact).onsuccess = nextStep;
// Launch the dialer app
- yield testApp('../dialer/dialer.html', testContactsSearch);
+ yield testApp('http://dialer.gaiamobile.org/', testContactsSearch);
// Remove the contact
navigator.mozContacts.remove(testContact);
2  tests/browser_dialer_history.js
View
@@ -1,5 +1,5 @@
function generatorTest() {
- yield testApp('../dialer/dialer.html', testDialerHistory);
+ yield testApp('http://dialer.gaiamobile.org/', testDialerHistory);
}
function testDialerHistory(window, document, nextStep) {
2  tests/browser_dialer_keypad_and_dial.js
View
@@ -1,6 +1,6 @@
function generatorTest() {
waitForExplicitFinish();
- yield testApp('../dialer/dialer.html', testDialerKeypad);
+ yield testApp('http://dialer.gaiamobile.org/', testDialerKeypad);
finish();
}
2  tests/browser_dialer_phone_number_sanitizing.js
View
@@ -1,6 +1,6 @@
function generatorTest() {
waitForExplicitFinish();
- yield testApp('../dialer/dialer.html', testDialerSanitizing);
+ yield testApp('http://dialer.gaiamobile.org/', testDialerSanitizing);
finish();
}
2  tests/browser_sms_conversation.js
View
@@ -1,6 +1,6 @@
function generatorTest() {
waitForExplicitFinish();
- yield testApp('../sms/sms.html', testSMSConversation);
+ yield testApp('http://sms.gaiamobile.org/', testSMSConversation);
finish();
}
2  tests/browser_sms_new.js
View
@@ -1,6 +1,6 @@
function generatorTest() {
waitForExplicitFinish();
- yield testApp('../sms/sms.html', testSMSNew);
+ yield testApp('http://sms.gaiamobile.org/', testSMSNew);
finish();
}
Please sign in to comment.
Something went wrong with that request. Please try again.