Execute Tests and Receive Feedback Using Amikoo

Execute Tests and Receive Feedback Using Amikoo

00:00: This tutorial guides you through executing tests with Amiku and receiving feedback from

00:03: those tests.

00:05: Before starting, ensure you have access to your test repository and Amiku account

00:09: credentials.

00:12: Hello.

00:12: Today we're going to learn how to execute our test with Amiku and receive the feedback

00:16: from the test we run.

00:18: So now that we've connected our test repository as well as our app repository, which

00:22: is not mandatory, we only need our tests.

00:25: We're going to be able to see the test here listed. The first time

00:29: we're not going to see the execution number since they haven't been run.

00:33: What we're going to do is go to settings and get our API key.

00:37: We'll copy it here to authenticate and receive the feedback.

00:42: We're going to go to our Visual Studio or any IDE of our preference.

00:46: We're going to need to install this npm package so we can report back to Amikoo.

00:51: Here is the minimum necessary in our Playwright config file.

00:54: Once we install, we can see it's going to report to Amiku.

01:09: Then once we've had our API key, we've saved our environment, we can go and execute

01:14: our tests.

01:16: Here we can see that all the tests have ended and it's sending an execution report.

01:21: It's uploading the videos and the execution report has been sent successfully.

01:25: So we can go back to Amiku and see our test executions.

01:30: Here we can see April 3rd to 2nd execution

01:32: number three. It was previously number two. And that's it.

01:36: That's all we need to configure our reporter to send our back to Amiku.

01:40: Remember, it's necessary to have our test repo connected and our API key.

01:46: You have successfully executed tests using Amiku, configured the necessary settings, and

01:50: reviewed the test execution history.

This tutorial guides you through executing tests with Amikoo and receiving feedback from those runs. Before starting, make sure you have access to your test repository and your Amikoo account credentials.

Pre-Requisites: 

  • Test repository connected

  • Playwright installed to run tests

 

 1. Introduce Test Execution Process

This tutorial covers how to configure the Amikoo reporter, execute your tests, and view the results and feedback directly in Amikoo.

  

2. Review Test Repository Connection

With your test repository connected — and optionally your app repository — your tests will appear listed in Amikoo. On the first run, no execution number will be shown yet since the tests haven't been run.

 

3. Retrieve API Key from Settings

Go to Settings and copy your API key. This key is used to authenticate your reporter and send execution results back to Amikoo.

   

4. Open Your Preferred IDE

Open your preferred IDE to begin configuring the reporter.

  

5. Install Required NPM Package

Install the Amikoo NPM package to enable test result reporting back to Amikoo. 
npm install @muuktest/amikoo-reporter --save-dev "

  

6. Configure Playwright Settings

Add the minimum required configuration to your Playwright config file. Once the npm package is installed, the reporter will automatically send results to Amikoo after each run.

  

7. Add API Key to Environment File

Update your .env file and paste your API key there. Save the file before proceeding.

  

8. Monitor Test Execution and Upload

With your API key saved and your environment configured, run your tests. Once all tests have completed, the reporter will upload the execution videos and send the execution report to Amikoo. A confirmation message will appear when the report has been sent successfully.

  

9. View Test Execution History

Return to Amikoo to see the updated execution history. The most recent run will appear with its date and an incremented execution number, reflecting the new run.

     

10. Review Final Configuration Requirements

That's everything needed to configure the Amikoo reporter. To recap: connect your test repository, install the NPM package, configure Playwright, and add your API key to your environment file.

You have successfully configured the Amikoo reporter, executed your tests, and reviewed the execution history in Amikoo. Your results and feedback will now be sent to Amikoo automatically with each test run.