Skip to content

Commit e675bce

Browse files
committed
move automated tests to testing app folder
1 parent 808ee6d commit e675bce

File tree

7 files changed

+19
-25
lines changed

7 files changed

+19
-25
lines changed

docs/marketplace/creators-hub/submission-criteria.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ Stay tuned for an upcoming "style guide" we're publishing that goes into deeper
396396
- **Criteria:** Projects should include automated tests that verify core functionality and key user workflows. While not required for approval, this is strongly recommended for libraries and will positively impact visibility.
397397
- **Why It Matters:** Automated tests help ensure reliability, catch regressions, and demonstrate your commitment to quality. They also improve your item's visibility.
398398
- **What To Do:**
399-
- **Add Integration Tests:** Use FlutterFlow's [automated testing](../../testing-deployment-publishing/testing/automated-tests.md) features to verify your item's core functionality.
399+
- **Add Integration Tests:** Use FlutterFlow's [automated testing](../../testing-deployment-publishing/running-your-app/automated-tests.md) features to verify your item's core functionality.
400400
- **Test Key Workflows:** Focus on testing critical user paths and features that users will rely on.
401401
- **For Libraries:** Since libraries are often used as building blocks in larger applications, thorough testing is particularly important to:
402402
- Verify that Library Values are properly implemented

docs/resources/ui/widgets/widget-commonalities.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ Values beyond this range will push the widget outside the visible screen area.
172172

173173
## Add Testing Value Key
174174

175-
A **Value Key** is used to uniquely identify widgets during [**Automated Testing**](../../../testing-deployment-publishing/testing/automated-tests.md) in FlutterFlow. For example, on a Create Account page, you might use descriptive keys like `signupFirstNameField`, `signupEmailField`, `signupPasswordField`, and `signupSubmitButton`. This helps testing tools reliably locate and interact with the correct widgets. For more details, refer to the [complete guide here](../../../testing-deployment-publishing/testing/automated-tests.md).
175+
A **Value Key** is used to uniquely identify widgets during [**Automated Testing**](../../../testing-deployment-publishing/running-your-app/automated-tests.md) in FlutterFlow. For example, on a Create Account page, you might use descriptive keys like `signupFirstNameField`, `signupEmailField`, `signupPasswordField`, and `signupSubmitButton`. This helps testing tools reliably locate and interact with the correct widgets. For more details, refer to the [complete guide here](../../../testing-deployment-publishing/running-your-app/automated-tests.md).
176176

177177
![test-value-keys.avif](imgs/test-value-keys.avif)
178178

docs/testing-deployment-publishing/publishing/pre-checks-publishing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This page outlines the important steps and checks to be made before publishing y
1313

1414
Here’s a comprehensive list of these prechecks:
1515

16-
1. **Functionality Testing**: Test the app manually across devices. You can also implement integration tests using FlutterFlow’s [**Automated Tests**](../testing/automated-tests.md) framework to cover various scenarios.
16+
1. **Functionality Testing**: Test the app manually across devices. You can also implement integration tests using FlutterFlow’s [**Automated Tests**](../running-your-app/automated-tests.md) framework to cover various scenarios.
1717

1818
2. **Get Feedback**: Run your app in Run Mode to generate a shareable link to the session. You can share these links to gather feedback from users and testers, providing valuable insights and potential areas of improvement before the public release.
1919
3. **Optimizations & Enhancements**: Improve performance by implementing [optimization and enhancement](../../intro/ff-ui/toolbar.md#project-suggestions) suggestions. Ensure that images are properly sized, consider using higher compression for assets, and remove unused assets and custom widgets. These will help improve your app's speed and size.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"label": "Running your App",
2+
"label": "Testing your app",
33
"position": 3
44
}

docs/testing-deployment-publishing/testing/automated-tests.md renamed to docs/testing-deployment-publishing/running-your-app/automated-tests.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ slug: /testing/automated-tests
33
title: Automated Tests
44
description: Discover how to effectively utilize automated testing in FlutterFlow to ensure your app performs as intended.
55
tags: [Automated Tests, Testing]
6-
sidebar_position: 0
6+
sidebar_position: 2
77
keywords: [Automated Tests, Testing, FlutterFlow]
88
---
99

docs/testing-deployment-publishing/testing/_category_.json

Lines changed: 0 additions & 4 deletions
This file was deleted.
Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,22 @@
11

22
.cardContainer {
3-
padding-top: 20px;
4-
display: grid;
5-
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
6-
grid-auto-rows: 1fr;
7-
gap: 24px;
8-
width: 100%;
9-
max-width: none;
10-
margin: 0;
3+
padding-top: 20px;
4+
display: grid;
5+
grid-template-columns: repeat(3, 1fr); /* Default to three columns */
6+
grid-auto-rows: 1fr; /* Each row has equal height, adjusting to content */
7+
gap: 20px;
118
}
129

10+
1311
/* Responsive adjustments */
14-
@media (max-width: 1024px) {
15-
.cardContainer {
16-
grid-template-columns: repeat(2, 1fr);
12+
@media (max-width: 1024px) { /* For tablets and smaller desktops */
13+
.cardContainer {
14+
grid-template-columns: repeat(2, 1fr); /* Two columns */
15+
}
1716
}
17+
18+
@media (max-width: 768px) { /* For landscape phones and smaller tablets */
19+
.cardContainer {
20+
grid-template-columns: 1fr; /* Single column for small devices */
1821
}
19-
20-
@media (max-width: 768px) {
21-
.cardContainer {
22-
grid-template-columns: 1fr;
23-
}
2422
}

0 commit comments

Comments
 (0)