Skip to content

Commit

Permalink
test: fix cy tests failing
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Jun 10, 2022
1 parent 235b950 commit d8327b3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/ui/client/components/views/ViewReport.vue
Original file line number Diff line number Diff line change
Expand Up @@ -106,15 +106,15 @@ function relative(p: string) {
</div>
<div v-else-if="task.result?.error" class="scrolls scrolls-rounded task-error">
<pre><b>{{ task.result.error.name || task.result.error.nameStr }}</b>: {{ task.result.error.message }}</pre>
<div v-for="({ file: efile, line, column }, i) of task.result.error.stacks || []" :key="i" class="op80 flex gap-x-2 items-center" data-testid="stack">
<pre> - {{ relative(efile) }}:{{ line }}:{{ column }}</pre>
<div v-for="(stack, i) of task.result.error.stacks" :key="i" class="op80 flex gap-x-2 items-center" data-testid="stack">
<pre> - {{ relative(stack.file) }}:{{ stack.line }}:{{ stack.column }}</pre>
<div
v-if="shouldOpenInEditor(efile, props.file?.name)"
v-if="shouldOpenInEditor(stack.file, props.file?.name)"
v-tooltip.bottom="'Open in Editor'"
class="i-carbon-launch c-red-600 dark:c-red-400 hover:cursor-pointer min-w-1em min-h-1em"
tabindex="0"
aria-label="Open in Editor"
@click.passive="openInEditor(efile, line, column)"
@click.passive="openInEditor(stack.file, stack.line, stack.column)"
/>
</div>
</div>
Expand Down

0 comments on commit d8327b3

Please sign in to comment.