diff --git a/alfa-client/apps/alfa-e2e/src/components/attachment/attachment.e2e.component.ts b/alfa-client/apps/alfa-e2e/src/components/attachment/attachment.e2e.component.ts
index 14bad966ec22881312f5fb8abf2e03fc1799a0c7..7e7207e39038dfd923b4b1560bdda6864496a0f2 100644
--- a/alfa-client/apps/alfa-e2e/src/components/attachment/attachment.e2e.component.ts
+++ b/alfa-client/apps/alfa-e2e/src/components/attachment/attachment.e2e.component.ts
@@ -86,10 +86,10 @@ class AttachmentE2EItem {
 
 class LoadingErrorAttachmentE2EItem {
   private readonly root: string;
-  private readonly attachmentSuffixLocattor: string = '-file-upload-list-item-attachment-upload';
+  private readonly attachmentSuffix: string = '-file-upload-list-item-attachment-upload';
 
   constructor(private fileName: string) {
-    this.root = convertToDataTestId(this.fileName) + this.attachmentSuffixLocattor;
+    this.root = convertToDataTestId(this.fileName) + this.attachmentSuffix;
   }
 
   public getRoot() {