tests: playwright

This commit is contained in:
Pranav C
2024-06-18 19:06:18 +00:00
parent f11734f967
commit d62f2cccfc
7 changed files with 140 additions and 14 deletions

View File

@@ -545,7 +545,7 @@ const allowDataWrite = computed({
</NcTooltip>
</div>
</template>
<a-switch v-model:checked="allowMetaWrite" size="small"></a-switch>
<a-switch v-model:checked="allowMetaWrite" data-testid="nc-allow-meta-write" size="small"></a-switch>
</a-form-item>
<a-form-item>
<template #label>
@@ -561,7 +561,7 @@ const allowDataWrite = computed({
</NcTooltip>
</div>
</template>
<a-switch v-model:checked="allowDataWrite" size="small"></a-switch>
<a-switch v-model:checked="allowDataWrite" data-testid="nc-allow-data-write" size="small"></a-switch>
</a-form-item>
<div class="flex items-right justify-end gap-2">

View File

@@ -563,7 +563,7 @@ const allowDataWrite = computed({
</NcTooltip>
</div>
</template>
<a-switch v-model:checked="allowMetaWrite" size="small"></a-switch>
<a-switch v-model:checked="allowMetaWrite" data-testid="nc-allow-meta-write" size="small"></a-switch>
</a-form-item>
<a-form-item>
<template #label>
@@ -579,7 +579,7 @@ const allowDataWrite = computed({
</NcTooltip>
</div>
</template>
<a-switch v-model:checked="allowDataWrite" size="small"></a-switch>
<a-switch v-model:checked="allowDataWrite" data-testid="nc-allow-data-write" size="small"></a-switch>
</a-form-item>
<!-- Use Connection URL -->
<div class="flex justify-end gap-2">