Ghost/ghost/admin/app/components/gh-psm-visibility-input.hbs
Sanne de Vries 0ebb3cbefe Added Playwright "Post visibility" tests
Refs https://github.com/TryGhost/Team/issues/2371

- Tests whether the post access selection of public, members, or paid-members matches the expected post visibility on the frontend.
2022-12-08 11:26:44 +07:00

11 lines
363 B
Handlebars

<span class="gh-select">
<OneWaySelect @value={{this.selectedVisibility}}
@options={{this.availableVisibilities}}
@optionValuePath="name"
@optionLabelPath="label"
@optionTargetPath="name"
@update={{action "updateVisibility"}}
@data-test-select="post-visibility"
/>
{{svg-jar "arrow-down-small"}}
</span>