mirror of
https://github.com/apache/cordova-plugin-camera.git
synced 2025-01-19 11:52:53 +08:00
CB-11553 Pend failing Appium tests on Sauce Labs for the time being (reverted from commit b695717240
)
This commit is contained in:
parent
b695717240
commit
7129fb2c12
@ -292,12 +292,6 @@ describe('Camera tests Android.', function () {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function checkSauce(pending) {
|
|
||||||
if (global.USE_SAUCE) {
|
|
||||||
pending('This test cannot run on Sauce Labs yet. We\'re working on it!');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
it('camera.ui.util configuring driver and starting a session', function (done) {
|
it('camera.ui.util configuring driver and starting a session', function (done) {
|
||||||
getDriver()
|
getDriver()
|
||||||
.then(function () {
|
.then(function () {
|
||||||
@ -362,7 +356,6 @@ describe('Camera tests Android.', function () {
|
|||||||
// getPicture() with mediaType: VIDEO, sourceType: PHOTOLIBRARY
|
// getPicture() with mediaType: VIDEO, sourceType: PHOTOLIBRARY
|
||||||
it('camera.ui.spec.2 Selecting only videos', function (done) {
|
it('camera.ui.spec.2 Selecting only videos', function (done) {
|
||||||
checkSession(done);
|
checkSession(done);
|
||||||
checkSauce(pending);
|
|
||||||
var spec = function () {
|
var spec = function () {
|
||||||
var options = { sourceType: cameraConstants.PictureSourceType.PHOTOLIBRARY,
|
var options = { sourceType: cameraConstants.PictureSourceType.PHOTOLIBRARY,
|
||||||
mediaType: cameraConstants.MediaType.VIDEO };
|
mediaType: cameraConstants.MediaType.VIDEO };
|
||||||
@ -495,7 +488,6 @@ describe('Camera tests Android.', function () {
|
|||||||
|
|
||||||
it('camera.ui.spec.6 Verifying target image size, sourceType=PHOTOLIBRARY', function (done) {
|
it('camera.ui.spec.6 Verifying target image size, sourceType=PHOTOLIBRARY', function (done) {
|
||||||
checkSession(done);
|
checkSession(done);
|
||||||
checkSauce(pending);
|
|
||||||
var spec = generateSpec({
|
var spec = generateSpec({
|
||||||
quality: 50,
|
quality: 50,
|
||||||
allowEdit: false,
|
allowEdit: false,
|
||||||
@ -526,7 +518,6 @@ describe('Camera tests Android.', function () {
|
|||||||
|
|
||||||
it('camera.ui.spec.8 Verifying target image size, sourceType=PHOTOLIBRARY, DestinationType=NATIVE_URI', function (done) {
|
it('camera.ui.spec.8 Verifying target image size, sourceType=PHOTOLIBRARY, DestinationType=NATIVE_URI', function (done) {
|
||||||
checkSession(done);
|
checkSession(done);
|
||||||
checkSauce(pending);
|
|
||||||
var spec = generateSpec({
|
var spec = generateSpec({
|
||||||
quality: 50,
|
quality: 50,
|
||||||
allowEdit: false,
|
allowEdit: false,
|
||||||
@ -558,7 +549,6 @@ describe('Camera tests Android.', function () {
|
|||||||
|
|
||||||
it('camera.ui.spec.10 Verifying target image size, sourceType=PHOTOLIBRARY, DestinationType=NATIVE_URI, quality=100', function (done) {
|
it('camera.ui.spec.10 Verifying target image size, sourceType=PHOTOLIBRARY, DestinationType=NATIVE_URI, quality=100', function (done) {
|
||||||
checkSession(done);
|
checkSession(done);
|
||||||
checkSauce(pending);
|
|
||||||
var spec = generateSpec({
|
var spec = generateSpec({
|
||||||
quality: 100,
|
quality: 100,
|
||||||
allowEdit: true,
|
allowEdit: true,
|
||||||
@ -576,7 +566,6 @@ describe('Camera tests Android.', function () {
|
|||||||
generateOptions().forEach(function (spec) {
|
generateOptions().forEach(function (spec) {
|
||||||
it('camera.ui.spec.11.' + spec.id + ' Combining options. ' + spec.description, function (done) {
|
it('camera.ui.spec.11.' + spec.id + ' Combining options. ' + spec.description, function (done) {
|
||||||
checkSession(done);
|
checkSession(done);
|
||||||
checkSauce(pending);
|
|
||||||
if (spec.options.sourceType == cameraConstants.PictureSourceType.CAMERA) {
|
if (spec.options.sourceType == cameraConstants.PictureSourceType.CAMERA) {
|
||||||
checkCamera(pending);
|
checkCamera(pending);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user