All right, so now we need to actually see how we can consume this particular fixture that we have created
in our earlier video so far doing that, I'm going to create one more file.
And this is basically my test file, which we are going to be executing and we'll see how it actually
works.
So for doing that, I'm just going to say consumed spec spectate.
Yes.
So I'm just going to do an import of, uh, from from the bluecoats.
So this time we should not import from the at Playwrite Tester because we have our own customized fixture
or the tester honor that we are basically going to be using to run the test.
So this is the power of the folio itself.
So Folio helps us create or write our own customized extender tester.
I mean, we can extend this like anywhere, any time.
And however, we need to modify and then we can use it.
I mean, you will understand even more better while we discuss about it in our next video, while we
use the browser context extension and the context options, extensions and stuff.
But yes, this is super, super easy for a super, super useful as well.
I'm never going to use this fixture, which we have created and now I'm just going to call the ID.
And if we just do a controlled space, we can see the different variables comes in, which is being
exported, which is the describe and we expect.
So you can do everything pretty much like how well you did in our edit videos.
So now I'm gonna create an ID blog and then I'm going to say are getting the browser part.
So I'm just going to get the browser part where I'm actually going to specify Chrome and this where
I can actually get the chrome all part as well.
So don't believe me, I can just do this console that log off.
I can do a single tick of dollar of chrome and we'll see how this particular chrome returns me, this
particular part or not.
So far doing that, I'm just going to go over here and I need to go to this bigger part of the folio
example and next folio if I hit the enter.
Oops, sorry about it, because I need to be using this particular
was there if not, this is not going to identify this particular chrome as expected.
And you can see that now it actually works without any problem.
So this is the part that it returns once I call the chrome.
So basically, this part is now coming from this particular type chrome.
And because we have already initialized the value of the chrome as this and this record is being executed
and stuns me, the particular part without any problem.
And now you can also specify Firefox if you want to, and then you can also print that particular value
and you can see how the particular value is also being printed, something like a dollar of Firefox,
something like that.
And if I try to run this, you can see that it brings me back to one for the chrome.
Another one is for the Firefox.
So this is pretty cool.
And now you can also do and expect to see if the part is actually matching because we also have the
expected been returned from the fixture.
We can also set that particular part and we can see if the particular value is matching or not.
So once they got that, you can see that the test is parsing.
So let's say if I just change it, Google or something like that, and if I tried to execute this test,
you should see that the test is actually failing.
And it tells you that the TV is failing because this particular part is not matching.
So this is pretty cool.
I mean, this is something that is very, very interesting and very helpful for you to understand about
upcoming videos of this course, because this is how we can actually extend our FOLIA in a much greater
and higher levels to our next video.