bi-element-ui 1.1.97 → 1.1.98

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/.browserslistrc +3 -3
  2. package/.eslintignore +1 -1
  3. package/.prettierrc +8 -8
  4. package/.prettierrc.json +8 -8
  5. package/.vscode/extensions.json +3 -3
  6. package/.vscode/settings.json +2 -2
  7. package/README.md +148 -148
  8. package/cypress.json +3 -3
  9. package/lib/bi-element-ui.common.js +114885 -114885
  10. package/lib/bi-element-ui.css +2 -2
  11. package/lib/bi-element-ui.umd.js +114885 -114885
  12. package/lib/bi-element-ui.umd.min.js +47 -47
  13. package/package-lock2.json +17309 -17309
  14. package/package.json +1 -1
  15. package/pnpm-lock.yaml +13329 -0
  16. package/src/App.vue +2 -0
  17. package/src/components/BiDatePicker/datePickerOption.js +163 -163
  18. package/src/components/BiDatePicker/index.vue +59 -59
  19. package/src/components/BiTable/columu.vue +81 -81
  20. package/src/components/BiTable/forced.js +63 -63
  21. package/src/components/BiTable/index.js +6 -6
  22. package/src/components/BiTable/render.vue +13 -13
  23. package/src/components/BiTable/table.vue +179 -179
  24. package/src/components/BiTableColumn/Group.vue +275 -275
  25. package/src/components/BiTableColumn/api.js +16 -16
  26. package/src/components/BiTooltipIcon/index.vue +63 -63
  27. package/src/components/EditBtn.vue +15 -15
  28. package/src/components/FreeButton/index.vue +50 -50
  29. package/src/components/Pagination/index.vue +91 -91
  30. package/src/components/Pagination/scrollTo.js +65 -65
  31. package/src/main.js +3 -1
  32. package/src/router/index.js +49 -44
  33. package/src/store/index.js +11 -11
  34. package/src/utils/auth.js +66 -0
  35. package/src/utils/index.js +296 -0
  36. package/src/utils/request.js +81 -0
  37. package/src/views/Date.vue +96 -96
  38. package/src/views/Home.vue +11 -8
  39. package/src/views/Layout.vue +34 -34
  40. package/src/views/Log.vue +18 -0
  41. package/src/views/Scene.vue +111 -111
  42. package/src/views/showData.vue +2 -2
  43. package/tests/e2e/.eslintrc.js +10 -10
  44. package/tests/e2e/plugins/index.js +25 -25
  45. package/tests/e2e/specs/test.js +8 -8
  46. package/tests/e2e/support/commands.js +25 -25
  47. package/tests/e2e/support/index.js +20 -20
  48. package/tests/unit/example.spec.js +13 -13
  49. package//345/211/215/347/253/257ui/346/240/267/345/274/217/350/247/204/350/214/203.md +101 -101
@@ -1,96 +1,96 @@
1
- <template>
2
- <div class="free-table">
3
- <div class="example-table-box">
4
- <p>基础日期-{{ date }}</p>
5
- <BiDatePicker v-model="date" type="date" placeholder="选择日期"></BiDatePicker>
6
- </div>
7
- <div class="example-table-box">
8
- <p>基础周-{{ date1 }}</p>
9
- <BiDatePicker v-model="date1" type="week" placeholder="选择周"></BiDatePicker>
10
- </div>
11
- <div class="example-table-box">
12
- <p>基础月-{{ date2 }}</p>
13
- <BiDatePicker v-model="date2" type="month" placeholder="选择周"></BiDatePicker>
14
- </div>
15
- <div class="example-table-box">
16
- <p>范围日期-{{ date3 }}</p>
17
- <BiDatePicker v-model="date3" type="daterange" placeholder="选择日期1" :picker-option="pickerOptions1"></BiDatePicker>
18
- <p>范围日期-{{ date7 }}</p>
19
- <BiDatePicker v-model="date7" type="daterange" placeholder="选择日期2" :picker-option="pickerOptions2"></BiDatePicker>
20
- </div>
21
- <div class="example-table-box">
22
- <p>范围月-{{ date5 }}</p>
23
- <BiDatePicker v-model="date5" type="monthrange" placeholder="选择日期" format="yyyy-MM"></BiDatePicker>
24
- </div>
25
- <div class="example-table-box">
26
- <p>范围日期时间-{{ date6 }}</p>
27
- <BiDatePicker v-model="date6" type="datetimerange" format="yyyy-MM-dd HH:mm:ss" value-format="yyyy-MM-dd HH:mm:ss" :default-time="['00:00:00', '23:59:59']" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"></BiDatePicker>
28
- </div>
29
- </div>
30
- </template>
31
-
32
- <script>
33
- // import BiDatepicker from '@/components/BiDatePicker'
34
- import moment from 'moment'
35
-
36
- export default {
37
- components: {
38
- // BiDatepicker
39
- },
40
- data() {
41
- return {
42
- date: '',
43
- date1: '',
44
- date2: '',
45
- date3: [],
46
- date4: [],
47
- date5: [],
48
- date6: [],
49
- date7: [],
50
- columnsProps: {
51
- width: 'auto'
52
- },
53
- total: 0,
54
- listQuery: {
55
- page: 2,
56
- limit: 20
57
- },
58
- editForm: {},
59
- dialogVisible: false,
60
- pickerOptions1: {
61
- firstDayOfWeek: 1,
62
- onPick: ({ minDate, maxDate }) => {
63
- console.log(1, moment(minDate).format('YYYY-MM-DD'))
64
- }
65
- },
66
- pickerOptions2: {
67
- firstDayOfWeek: 1,
68
- onPick: ({ minDate, maxDate }) => {
69
- console.log(2, moment(minDate).format('YYYY-MM-DD'))
70
- }
71
- }
72
- }
73
- },
74
- methods: {
75
- selectionChange(rows) {
76
- console.log('selected', rows)
77
- },
78
- getList() {},
79
- openDialog({ row }) {
80
- this.editForm = Object.assign({}, row)
81
- this.dialogVisible = true
82
- }
83
- }
84
- }
85
- </script>
86
-
87
- <style lang="scss" scoped>
88
- .example-table-box {
89
- margin: 25px 50px;
90
-
91
- p {
92
- text-align: left;
93
- font-weight: 700;
94
- }
95
- }
96
- </style>
1
+ <template>
2
+ <div class="free-table">
3
+ <div class="example-table-box">
4
+ <p>基础日期-{{ date }}</p>
5
+ <BiDatePicker v-model="date" type="date" placeholder="选择日期"></BiDatePicker>
6
+ </div>
7
+ <div class="example-table-box">
8
+ <p>基础周-{{ date1 }}</p>
9
+ <BiDatePicker v-model="date1" type="week" placeholder="选择周"></BiDatePicker>
10
+ </div>
11
+ <div class="example-table-box">
12
+ <p>基础月-{{ date2 }}</p>
13
+ <BiDatePicker v-model="date2" type="month" placeholder="选择周"></BiDatePicker>
14
+ </div>
15
+ <div class="example-table-box">
16
+ <p>范围日期-{{ date3 }}</p>
17
+ <BiDatePicker v-model="date3" type="daterange" placeholder="选择日期1" :picker-option="pickerOptions1"></BiDatePicker>
18
+ <p>范围日期-{{ date7 }}</p>
19
+ <BiDatePicker v-model="date7" type="daterange" placeholder="选择日期2" :picker-option="pickerOptions2"></BiDatePicker>
20
+ </div>
21
+ <div class="example-table-box">
22
+ <p>范围月-{{ date5 }}</p>
23
+ <BiDatePicker v-model="date5" type="monthrange" placeholder="选择日期" format="yyyy-MM"></BiDatePicker>
24
+ </div>
25
+ <div class="example-table-box">
26
+ <p>范围日期时间-{{ date6 }}</p>
27
+ <BiDatePicker v-model="date6" type="datetimerange" format="yyyy-MM-dd HH:mm:ss" value-format="yyyy-MM-dd HH:mm:ss" :default-time="['00:00:00', '23:59:59']" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"></BiDatePicker>
28
+ </div>
29
+ </div>
30
+ </template>
31
+
32
+ <script>
33
+ // import BiDatepicker from '@/components/BiDatePicker'
34
+ import moment from 'moment'
35
+
36
+ export default {
37
+ components: {
38
+ // BiDatepicker
39
+ },
40
+ data() {
41
+ return {
42
+ date: '',
43
+ date1: '',
44
+ date2: '',
45
+ date3: [],
46
+ date4: [],
47
+ date5: [],
48
+ date6: [],
49
+ date7: [],
50
+ columnsProps: {
51
+ width: 'auto'
52
+ },
53
+ total: 0,
54
+ listQuery: {
55
+ page: 2,
56
+ limit: 20
57
+ },
58
+ editForm: {},
59
+ dialogVisible: false,
60
+ pickerOptions1: {
61
+ firstDayOfWeek: 1,
62
+ onPick: ({ minDate, maxDate }) => {
63
+ console.log(1, moment(minDate).format('YYYY-MM-DD'))
64
+ }
65
+ },
66
+ pickerOptions2: {
67
+ firstDayOfWeek: 1,
68
+ onPick: ({ minDate, maxDate }) => {
69
+ console.log(2, moment(minDate).format('YYYY-MM-DD'))
70
+ }
71
+ }
72
+ }
73
+ },
74
+ methods: {
75
+ selectionChange(rows) {
76
+ console.log('selected', rows)
77
+ },
78
+ getList() {},
79
+ openDialog({ row }) {
80
+ this.editForm = Object.assign({}, row)
81
+ this.dialogVisible = true
82
+ }
83
+ }
84
+ }
85
+ </script>
86
+
87
+ <style lang="scss" scoped>
88
+ .example-table-box {
89
+ margin: 25px 50px;
90
+
91
+ p {
92
+ text-align: left;
93
+ font-weight: 700;
94
+ }
95
+ }
96
+ </style>
@@ -8,9 +8,9 @@
8
8
  ></BiMoreButton>
9
9
 
10
10
  <el-button
11
- @click="drawer = true"
12
11
  type="primary"
13
12
  style="margin-left: 16px;"
13
+ @click="drawer = true"
14
14
  >
15
15
  点我打开
16
16
  </el-button>
@@ -22,7 +22,7 @@
22
22
  >
23
23
  <bi-table
24
24
  :loading="tableLoading"
25
- :headerPopperType="$options.name"
25
+ :header-popper-type="$options.name"
26
26
  border
27
27
  stripe
28
28
  :data="data"
@@ -61,7 +61,7 @@
61
61
 
62
62
  <bi-table
63
63
  :loading="tableLoading"
64
- :headerPopperType="$options.name"
64
+ :header-popper-type="$options.name"
65
65
  border
66
66
  stripe
67
67
  :data="data"
@@ -389,12 +389,15 @@ export default {
389
389
  return (
390
390
  <div>
391
391
  <el-input />
392
- <el-tooltip class={'item'} effect={'dark'} placement={'top'}>
393
- <div slot={'content'}>
394
- <span>123123</span>
395
- <span>用户在支付日期内产生的充值金额</span>
392
+ <el-tooltip effect={'dark'} placement={'top'}>
393
+ <div slot="content">
394
+ 付费人数:染色日期和付费日期相同的人数
395
+ <br />
396
+ 付费成本:消耗/付费人数
397
+ <br />
398
+ 付费成本:消耗/付费人数
396
399
  </div>
397
- <span>充值金额</span>
400
+ <span style={{ textAlign: 'right', width: '100%', display: 'inline-block' }}>付费</span>
398
401
  </el-tooltip>
399
402
  </div>
400
403
  )
@@ -1,35 +1,35 @@
1
- <template>
2
- <div class="box">
3
- <header>
4
-
5
- <BiNavbarTool
6
- :token="token"
7
- :avatar="avatar"
8
- />
9
- </header>
10
- </div>
11
- </template>
12
-
13
- <script>
14
- export default {
15
- data() {
16
- return {
17
- token: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiIxNTc1NzE4NTMyMiIsImxvZ2luX2VudiI6IiIsImlhdCI6MTcwODMzNTUyNywiZXhwIjoxNzA4OTQwMzI3LCJuYmYiOjE3MDgzMzU1MjcsInN1YiI6InRva2Vu6K6k6K-BIiwianRpIjoiOWEzYWNkYTBkZDhlYmRjNzM3NTAwYzc2MGU0MWQ5N2YifQ.5XzkjXWgiNpA0yUYbNTT8TjPttdlnPWQzggcDNZEB20',
18
- avatar: 'https://static-legacy.dingtalk.com/media/lADPBbCc1SE7SD7NAuzNAug_744_748.jpg?imageView2/1/w/80/h/80'
19
- }
20
- },
21
- methods: {}
22
- }
23
- </script>
24
-
25
- <style scoped>
26
- .box {
27
- background: #ccc;
28
- height: 200px;
29
- padding: 10px 50px;
30
- }
31
- header {
32
- height: 50px;
33
- background: #fff;
34
- }
1
+ <template>
2
+ <div class="box">
3
+ <header>
4
+
5
+ <BiNavbarTool
6
+ :token="token"
7
+ :avatar="avatar"
8
+ />
9
+ </header>
10
+ </div>
11
+ </template>
12
+
13
+ <script>
14
+ export default {
15
+ data() {
16
+ return {
17
+ token: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiIxNTc1NzE4NTMyMiIsImxvZ2luX2VudiI6IiIsImlhdCI6MTcwODMzNTUyNywiZXhwIjoxNzA4OTQwMzI3LCJuYmYiOjE3MDgzMzU1MjcsInN1YiI6InRva2Vu6K6k6K-BIiwianRpIjoiOWEzYWNkYTBkZDhlYmRjNzM3NTAwYzc2MGU0MWQ5N2YifQ.5XzkjXWgiNpA0yUYbNTT8TjPttdlnPWQzggcDNZEB20',
18
+ avatar: 'https://static-legacy.dingtalk.com/media/lADPBbCc1SE7SD7NAuzNAug_744_748.jpg?imageView2/1/w/80/h/80'
19
+ }
20
+ },
21
+ methods: {}
22
+ }
23
+ </script>
24
+
25
+ <style scoped>
26
+ .box {
27
+ background: #ccc;
28
+ height: 200px;
29
+ padding: 10px 50px;
30
+ }
31
+ header {
32
+ height: 50px;
33
+ background: #fff;
34
+ }
35
35
  </style>
@@ -0,0 +1,18 @@
1
+ <template>
2
+ <div>
3
+
4
+ <BiLogButton
5
+ class="menu-log-button"
6
+ log-id="239"
7
+ log-model="role"
8
+ />
9
+ <BiLog></BiLog>
10
+ </div>
11
+ </template>
12
+
13
+ <script>
14
+ export default {}
15
+ </script>
16
+
17
+ <style>
18
+ </style>
@@ -1,111 +1,111 @@
1
- <template>
2
- <div class="free-table-container">
3
- <free-button @search="search"></free-button>
4
-
5
- <free-table v-loading="loading" style="min-height: 50vh" border pagination :data="data" :column="column" :total="total" :page.sync="params.page" :limit.sync="params.limit" @pagination="getList"></free-table>
6
-
7
- <el-dialog title="收货地址" :visible.sync="dialogVisible">
8
- <el-form :model="editForm" label-width="100px">
9
- <el-form-item label="名称">
10
- <el-input v-model="editForm.title" autocomplete="off"></el-input>
11
- </el-form-item>
12
- <el-form-item v-if="editForm.author" label="作者">
13
- <el-input v-model="editForm.author.loginname"></el-input>
14
- </el-form-item>
15
- </el-form>
16
- <div slot="footer" class="dialog-footer">
17
- <el-button @click="dialogVisible = false">取 消</el-button>
18
- <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
19
- </div>
20
- </el-dialog>
21
- </div>
22
- </template>
23
-
24
- <script>
25
- import FreeButton from '@/components/FreeButton'
26
- import FreeTable from '@/components/FreeTable'
27
- import axios from 'axios'
28
-
29
- export default {
30
- components: {
31
- FreeButton,
32
- FreeTable
33
- },
34
- data() {
35
- return {
36
- column: [
37
- { prop: 'title', label: '名称', minWidth: 200 },
38
- {
39
- prop: 'author',
40
- label: '作者',
41
- render: (h, scope) => {
42
- return <span>{scope.row.author.loginname}</span>
43
- }
44
- },
45
- { prop: 'tab', label: '类目' },
46
- { prop: 'reply_count', label: '回复数', width: 100 },
47
- { prop: 'visit_count', label: '预览量', width: 100 },
48
- {
49
- prop: 'action',
50
- label: '操作',
51
- render: (h, scope) => {
52
- return (
53
- <div>
54
- <el-button type="text" size="small" class="el-icon-edit" onClick={() => this.openDialog(scope)}>
55
- 编辑
56
- </el-button>
57
- <el-button type="text" size="small" class="el-icon-delete" onClick={() => this.delHandle(scope)}>
58
- 删除
59
- </el-button>
60
- </div>
61
- )
62
- }
63
- }
64
- ],
65
- loading: false,
66
- data: [],
67
- total: 0,
68
- params: {
69
- tab: 'share',
70
- page: 1,
71
- limit: 10
72
- },
73
- editForm: {},
74
- dialogVisible: false
75
- }
76
- },
77
- mounted() {
78
- this.getList()
79
- },
80
- methods: {
81
- async getList() {
82
- this.loading = true
83
- const { params } = this
84
- const url = 'https://cnodejs.org/api/v1/topics'
85
- const { data } = await axios({ method: 'get', url, params })
86
- this.data = data.data || []
87
- this.total = 500
88
- this.loading = false
89
- },
90
-
91
- async delHandle({ row }) {
92
- console.log(row)
93
- await this.$message.success('这是一条删除成功提示')
94
- },
95
-
96
- openDialog({ row }) {
97
- this.editForm = Object.assign({}, row)
98
- this.dialogVisible = true
99
- },
100
- search() {
101
- alert(12)
102
- }
103
- }
104
- }
105
- </script>
106
-
107
- <style>
108
- .free-table-container {
109
- margin: 20px 50px;
110
- }
111
- </style>
1
+ <template>
2
+ <div class="free-table-container">
3
+ <free-button @search="search"></free-button>
4
+
5
+ <free-table v-loading="loading" style="min-height: 50vh" border pagination :data="data" :column="column" :total="total" :page.sync="params.page" :limit.sync="params.limit" @pagination="getList"></free-table>
6
+
7
+ <el-dialog title="收货地址" :visible.sync="dialogVisible">
8
+ <el-form :model="editForm" label-width="100px">
9
+ <el-form-item label="名称">
10
+ <el-input v-model="editForm.title" autocomplete="off"></el-input>
11
+ </el-form-item>
12
+ <el-form-item v-if="editForm.author" label="作者">
13
+ <el-input v-model="editForm.author.loginname"></el-input>
14
+ </el-form-item>
15
+ </el-form>
16
+ <div slot="footer" class="dialog-footer">
17
+ <el-button @click="dialogVisible = false">取 消</el-button>
18
+ <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
19
+ </div>
20
+ </el-dialog>
21
+ </div>
22
+ </template>
23
+
24
+ <script>
25
+ import FreeButton from '@/components/FreeButton'
26
+ import FreeTable from '@/components/FreeTable'
27
+ import axios from 'axios'
28
+
29
+ export default {
30
+ components: {
31
+ FreeButton,
32
+ FreeTable
33
+ },
34
+ data() {
35
+ return {
36
+ column: [
37
+ { prop: 'title', label: '名称', minWidth: 200 },
38
+ {
39
+ prop: 'author',
40
+ label: '作者',
41
+ render: (h, scope) => {
42
+ return <span>{scope.row.author.loginname}</span>
43
+ }
44
+ },
45
+ { prop: 'tab', label: '类目' },
46
+ { prop: 'reply_count', label: '回复数', width: 100 },
47
+ { prop: 'visit_count', label: '预览量', width: 100 },
48
+ {
49
+ prop: 'action',
50
+ label: '操作',
51
+ render: (h, scope) => {
52
+ return (
53
+ <div>
54
+ <el-button type="text" size="small" class="el-icon-edit" onClick={() => this.openDialog(scope)}>
55
+ 编辑
56
+ </el-button>
57
+ <el-button type="text" size="small" class="el-icon-delete" onClick={() => this.delHandle(scope)}>
58
+ 删除
59
+ </el-button>
60
+ </div>
61
+ )
62
+ }
63
+ }
64
+ ],
65
+ loading: false,
66
+ data: [],
67
+ total: 0,
68
+ params: {
69
+ tab: 'share',
70
+ page: 1,
71
+ limit: 10
72
+ },
73
+ editForm: {},
74
+ dialogVisible: false
75
+ }
76
+ },
77
+ mounted() {
78
+ this.getList()
79
+ },
80
+ methods: {
81
+ async getList() {
82
+ this.loading = true
83
+ const { params } = this
84
+ const url = 'https://cnodejs.org/api/v1/topics'
85
+ const { data } = await axios({ method: 'get', url, params })
86
+ this.data = data.data || []
87
+ this.total = 500
88
+ this.loading = false
89
+ },
90
+
91
+ async delHandle({ row }) {
92
+ console.log(row)
93
+ await this.$message.success('这是一条删除成功提示')
94
+ },
95
+
96
+ openDialog({ row }) {
97
+ this.editForm = Object.assign({}, row)
98
+ this.dialogVisible = true
99
+ },
100
+ search() {
101
+ alert(12)
102
+ }
103
+ }
104
+ }
105
+ </script>
106
+
107
+ <style>
108
+ .free-table-container {
109
+ margin: 20px 50px;
110
+ }
111
+ </style>
@@ -1,3 +1,3 @@
1
- <template>
2
- <bi-home-data />
1
+ <template>
2
+ <bi-home-data />
3
3
  </template>
@@ -1,10 +1,10 @@
1
- module.exports = {
2
- plugins: ['cypress'],
3
- env: {
4
- mocha: true,
5
- 'cypress/globals': true
6
- },
7
- rules: {
8
- strict: 'off'
9
- }
10
- }
1
+ module.exports = {
2
+ plugins: ['cypress'],
3
+ env: {
4
+ mocha: true,
5
+ 'cypress/globals': true
6
+ },
7
+ rules: {
8
+ strict: 'off'
9
+ }
10
+ }
@@ -1,25 +1,25 @@
1
- /* eslint-disable arrow-body-style */
2
- // https://docs.cypress.io/guides/guides/plugins-guide.html
3
-
4
- // if you need a custom webpack configuration you can uncomment the following import
5
- // and then use the `file:preprocessor` event
6
- // as explained in the cypress docs
7
- // https://docs.cypress.io/api/plugins/preprocessors-api.html#Examples
8
-
9
- // /* eslint-disable import/no-extraneous-dependencies, global-require */
10
- // const webpack = require('@cypress/webpack-preprocessor')
11
-
12
- module.exports = (on, config) => {
13
- // on('file:preprocessor', webpack({
14
- // webpackOptions: require('@vue/cli-service/webpack.config'),
15
- // watchOptions: {}
16
- // }))
17
-
18
- return Object.assign({}, config, {
19
- fixturesFolder: 'tests/e2e/fixtures',
20
- integrationFolder: 'tests/e2e/specs',
21
- screenshotsFolder: 'tests/e2e/screenshots',
22
- videosFolder: 'tests/e2e/videos',
23
- supportFile: 'tests/e2e/support/index.js'
24
- })
25
- }
1
+ /* eslint-disable arrow-body-style */
2
+ // https://docs.cypress.io/guides/guides/plugins-guide.html
3
+
4
+ // if you need a custom webpack configuration you can uncomment the following import
5
+ // and then use the `file:preprocessor` event
6
+ // as explained in the cypress docs
7
+ // https://docs.cypress.io/api/plugins/preprocessors-api.html#Examples
8
+
9
+ // /* eslint-disable import/no-extraneous-dependencies, global-require */
10
+ // const webpack = require('@cypress/webpack-preprocessor')
11
+
12
+ module.exports = (on, config) => {
13
+ // on('file:preprocessor', webpack({
14
+ // webpackOptions: require('@vue/cli-service/webpack.config'),
15
+ // watchOptions: {}
16
+ // }))
17
+
18
+ return Object.assign({}, config, {
19
+ fixturesFolder: 'tests/e2e/fixtures',
20
+ integrationFolder: 'tests/e2e/specs',
21
+ screenshotsFolder: 'tests/e2e/screenshots',
22
+ videosFolder: 'tests/e2e/videos',
23
+ supportFile: 'tests/e2e/support/index.js'
24
+ })
25
+ }
@@ -1,8 +1,8 @@
1
- // https://docs.cypress.io/api/introduction/api.html
2
-
3
- describe('My First Test', () => {
4
- it('Visits the app root url', () => {
5
- cy.visit('/')
6
- cy.contains('h1', 'Welcome to Your Vue.js App')
7
- })
8
- })
1
+ // https://docs.cypress.io/api/introduction/api.html
2
+
3
+ describe('My First Test', () => {
4
+ it('Visits the app root url', () => {
5
+ cy.visit('/')
6
+ cy.contains('h1', 'Welcome to Your Vue.js App')
7
+ })
8
+ })