|
@@ -3,21 +3,21 @@ const path = require('path')
|
|
|
const fs = require('fs')
|
|
|
const { selectFakeFile, supportsChooseFile, ensureInputVisible } = require('../utils')
|
|
|
|
|
|
-const testURL = 'http://localhost:4567/transloadit'
|
|
|
+const testURL = 'http://localhost:4567/transloadit2'
|
|
|
|
|
|
function setTransloaditKeyAndInit (transloaditKey) {
|
|
|
window.initUppyTransloadit(transloaditKey)
|
|
|
}
|
|
|
|
|
|
-describe('Transloadit file processing', () => {
|
|
|
+describe('Transloadit getAssemblyOptions', () => {
|
|
|
beforeEach(async () => {
|
|
|
await browser.url(testURL)
|
|
|
})
|
|
|
|
|
|
- it('should upload a file to Transloadit and crop it', async function test () {
|
|
|
+ it('should pass `fields` to `assembly:result`', async function test () {
|
|
|
const transloaditKey = process.env.TRANSLOADIT_KEY
|
|
|
if (transloaditKey === undefined) {
|
|
|
- console.log('skipping Transloadit integration test')
|
|
|
+ console.log('skipping Transloadit integration test: process.env.TRANSLOADIT_KEY is not set')
|
|
|
return this.skip()
|
|
|
}
|
|
|
|