2576 - Photo upload component #470
|
@ -38,7 +38,7 @@ describe('Travel thermograph path', () => {
|
||||||
|
|
||||||
it('should select the file to upload', async() => {
|
it('should select the file to upload', async() => {
|
||||||
let currentDir = process.cwd();
|
let currentDir = process.cwd();
|
||||||
let filePath = `${currentDir}/e2e/dms/ecc/3.jpeg`;
|
let filePath = `${currentDir}/storage/dms/ecc/3.jpeg`;
|
||||||
|
|
||||||
const [fileChooser] = await Promise.all([
|
const [fileChooser] = await Promise.all([
|
||||||
page.waitForFileChooser(),
|
page.waitForFileChooser(),
|
||||||
|
|
|
@ -28,4 +28,12 @@
|
||||||
height: 40px;
|
height: 40px;
|
||||||
padding: $spacing-md;
|
padding: $spacing-md;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
vn-input-file {
|
||||||
|
max-width: 256px;
|
||||||
|
|
||||||
|
div.control {
|
||||||
|
overflow: hidden
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue