Skip to content

Commit 28932dd

Browse files
authored
Merge pull request #232 from c4dt/110
add e2e tests for `InfoIcons`
2 parents fd1365f + 76f0807 commit 28932dd

File tree

15 files changed

+787
-6
lines changed

15 files changed

+787
-6
lines changed

components/InfoIcons.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<div class="flex flex-nowrap space-x-4">
2+
<div data-testid="info-icons" class="flex flex-nowrap space-x-4">
33
<NuxtLink
44
v-if="papers"
55
:class="iconClass"

components/homepage/ProjectCard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<!-- use CSS to make parent relative on hover to move up -->
3-
<div class="epfl-card mx-auto overflow-hidden bg-white hover:relative">
3+
<div data-testid="project-card" class="epfl-card mx-auto overflow-hidden bg-white hover:relative">
44
<div class="p-8">
55
<div class="flex items-start">
66
<div class="w-full sm:flex-1">

e2e/data/C4DT/projects.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
projects:
2+
eid-demo:
3+
name: E-ID Demo (Issuer & Verifier)
4+
description: Demo for the swiss E-ID ledger. It includes an issuer and a verifier.
5+
type: Application
6+
categories:
7+
- Security
8+
- Privacy
9+
applications:
10+
- Gov
11+
tags:
12+
- Access Control
13+
- Development
14+
date_added: 2024-01-09
15+
eid-example:
16+
name: E-ID Example
17+
description: Example for the swiss E-ID ledger.
18+
type: Application
19+
categories:
20+
- Security
21+
- Privacy
22+
applications:
23+
- Gov
24+
tags:
25+
- Access Control
26+
- Development
27+
date_added: 2024-01-09
28+
url: https://example.com
29+
information:
30+
- type: paper
31+
url: https://example.com/paper
32+
title: E-ID Example Paper
33+
- type: article
34+
url: https://example.com/article
35+
title: E-ID Example Article
36+
contacts:
37+
- name: Linus Gasser
38+
email: linus.gasser@epfl.ch
39+
code:
40+
type: toto
41+
url: https://example.com/code

e2e/data/config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
highlightedProjects:
2+
- E-ID Demo (Issuer & Verifier)

e2e/data/customHTMLContent/app/.gitkeep

Whitespace-only changes.

e2e/data/customHTMLContent/demo/.gitkeep

Whitespace-only changes.

e2e/data/customHTMLContent/details/.gitkeep

Whitespace-only changes.

e2e/data/customHTMLContent/hands-on/.gitkeep

Whitespace-only changes.

e2e/data/customHTMLContent/pilot/.gitkeep

Whitespace-only changes.

e2e/data/customHTMLContent/presentation/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)