Core Modules@serenity-js/assertionsExpectationsisTrueexternalisTrue CallableisTrue(): Expectation<boolean>Creates an expectation that is met when the actual boolean value is true. Ensuring that a given value is trueimport { actorCalled } from '@serenity-js/core'import { Ensure, isTrue } from '@serenity-js/assertions'import { Cookie } from '@serenity-js/web'await actorCalled('Ester').attemptsTo( Ensure.that(Cookie.called('example-secure-cookie').isSecure(), isTrue()),)Returns Expectation<boolean>
Creates an expectation that is met when the actual
boolean
value istrue
.Ensuring that a given value is true