Skip to content

← All questions

Can a scenario be tagged @ui and @api at once? Lint says "found @hybrid @ui @api"

Asked 7,620 views2 answers

The scenario seeds a record over the API and then checks it renders in the browser, so it genuinely is both. I tagged it as both and got:

text
✖ features/hybrid/seed-then-view.feature:6  tags/layer  Scenario must carry exactly one layer tag (@ui, @api, @hybrid); found @hybrid @ui @api.

Three? I only wrote two. The @hybrid is on the Feature: line, left over from before I split this file. So are feature-level tags counted as part of a scenario's tags, and if they are, how do I say "this one scenario is both layers"?

asked by Vikram Rajagopal1,240 ·

2 answers

Have the same question?

Ask it with the command you ran and the output you got, and it will be answered here.

Ask a question

Related