Skip to content
GitLab
Explorer
Connexion
S'inscrire
Navigation principale
Rechercher ou aller à…
Projet
P
parlote-facil
Gestion
Activité
Membres
Labels
Programmation
Tickets
Tableaux des tickets
Jalons
Wiki
Code
Requêtes de fusion
Dépôt
Branches
Validations
Étiquettes
Graphe du dépôt
Comparer les révisions
Extraits de code
Compilation
Pipelines
Jobs
Planifications de pipeline
Artéfacts
Déploiement
Releases
Registre de paquets
Registre de conteneur
Registre de modèles
Opération
Environnements
Modules Terraform
Surveillance
Incidents
Analyse
Données d'analyse des chaînes de valeur
Analyse des contributeurs
Données d'analyse CI/CD
Données d'analyse du dépôt
Expériences du modèle
Aide
Aide
Support
Documentation de GitLab
Comparer les forfaits GitLab
Forum de la communauté
Contribuer à GitLab
Donner votre avis
Raccourcis clavier
?
Extraits de code
Groupes
Projets
Afficher davantage de fils d'Ariane
facil
parlote-facil
Validations
cf136721
Valider
cf136721
rédigé
il y a 9 ans
par
Jonne Haß
Parcourir les fichiers
Options
Téléchargements
Correctifs
Plain Diff
Stabilize mobile/not_safe_for_work.feature
parent
18413fe3
Aucune branche associée trouvée
Branches contenant la validation
Aucune étiquette associée trouvée
Étiquettes contenant la validation
Aucune requête de fusion associée trouvée
Modifications
1
Masquer les modifications d'espaces
En ligne
Côte à côte
Affichage de
1 fichier modifié
features/mobile/not_safe_for_work.feature
+26
-16
26 ajouts, 16 suppressions
features/mobile/not_safe_for_work.feature
avec
26 ajouts
et
16 suppressions
features/mobile/not_safe_for_work.feature
+
26
−
16
Voir le fichier @
cf136721
...
...
@@ -6,13 +6,13 @@ Feature: Not safe for work
And
a user with email
"laura@office.example.com"
is connected with
"tommy@nsfw.example.com"
Scenario
:
Setting not safe for work
And
I sign in as
"tommy@nsfw.example.com"
When
I go to the edit profile page
When
I sign in as
"tommy@nsfw.example.com"
And
I go to the edit profile page
And
I mark myself as not safe for work
And
I submit the form
Then
I should be on the edit profile page
And
the
"profile[nsfw]"
checkbox should be checked
When
I go to the edit profile page
And
I mark myself as safe for work
And
I submit the form
...
...
@@ -21,7 +21,7 @@ Feature: Not safe for work
Scenario
:
Toggling nsfw state
#Nsfw users posts are marked nsfw
And
"tommy@nsfw.example.com"
has a public post with text
"I love 0bj3ction4bl3 c0nt3nt!"
and a poll
Given
"tommy@nsfw.example.com"
has a public post with text
"I love 0bj3ction4bl3 c0nt3nt!"
and a poll
And
"tommy@nsfw.example.com"
has a public post with text
"I love 0bj3ction4bl3 c0nt3nt!"
and a location
And
"tommy@nsfw.example.com"
has a public post with text
"I love 0bj3ction4bl3 c0nt3nt!"
and a picture
...
...
@@ -31,41 +31,51 @@ Feature: Not safe for work
And
I should not see
"What do you think about 1 ninjas?"
And I should not see "Posted from
:
"
And
I should not see any picture in my stream
When
I toggle all nsfw posts
Then
I should see
"I love 0bj3ction4bl3 c0nt3nt!"
And
I should see
"What do you think about 1 ninjas?"
And I should see "Posted from
:
"
And
I should see 1 pictures in my stream
Scenario
:
Resharing a nsfw post with poll
And
"tommy@nsfw.example.com"
has a public post with text
"Sexy Senators Gone Wild!"
and a poll
And
I sign in as
"laura@office.example.com"
Scenario
:
Resharing a nsfw post with a poll
Given
"tommy@nsfw.example.com"
has a public post with text
"Sexy Senators Gone Wild!"
and a poll
When
I sign in as
"laura@office.example.com"
And
I toggle all nsfw posts
And
I follow
"Reshare"
And
I confirm the alert
And
I go to the home page
Then
I should see a
"a.image_link.reshare_action.active"
When
I go to the home page
Then
I should not see
"Sexy Senators Gone Wild!"
And
I should not see
"What do you think about 1 ninjas?"
And
I should have 2 nsfw posts
Scenario
:
Resharing a nsfw post with location
And
"tommy@nsfw.example.com"
has a public post with text
"Sexy Senators Gone Wild!"
and a location
And
I sign in as
"laura@office.example.com"
Scenario
:
Resharing a nsfw post with a location
Given
"tommy@nsfw.example.com"
has a public post with text
"Sexy Senators Gone Wild!"
and a location
When
I sign in as
"laura@office.example.com"
And
I toggle all nsfw posts
And
I follow
"Reshare"
And
I confirm the alert
And
I go to the home page
Then
I should see a
"a.image_link.reshare_action.active"
When
I go to the home page
Then
I should not see
"Sexy Senators Gone Wild!"
And I should not see "Posted from
:
"
And
I should have 2 nsfw posts
Scenario
:
Resharing a nsfw post with picture
And
"tommy@nsfw.example.com"
has a public post with text
"Sexy Senators Gone Wild!"
and a picture
And
I sign in as
"laura@office.example.com"
Scenario
:
Resharing a nsfw post with a picture
Given
"tommy@nsfw.example.com"
has a public post with text
"Sexy Senators Gone Wild!"
and a picture
When
I sign in as
"laura@office.example.com"
And
I toggle all nsfw posts
And
I follow
"Reshare"
And
I confirm the alert
And
I go to the home page
Then
I should see a
"a.image_link.reshare_action.active"
When
I go to the home page
Then
I should not see
"Sexy Senators Gone Wild!"
And
I should not see any picture in my stream
And
I should have 2 nsfw posts
Ce diff est replié.
Cliquez pour l'agrandir.
Aperçu
0%
Chargement en cours
Veuillez réessayer
ou
joindre un nouveau fichier
.
Annuler
You are about to add
0
people
to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Enregistrer le commentaire
Annuler
Veuillez vous
inscrire
ou vous
se connecter
pour commenter